libraries/libebml: Updated for version 1.2.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Ozan Türkyılmaz 2011-05-18 11:56:32 -05:00 committed by Robby Workman
parent 4ec89d8817
commit a1a6f37536
3 changed files with 19 additions and 9 deletions

View file

@ -1,3 +1,6 @@
libebml is a C++ libary to parse EBML files. EBML (Extensible Binary
Meta-Language library) is a simple XML like binary language for
describing data in structured style.
Interested parties can build static libs by passing STATICLIB=yes to the
script.

View file

@ -1,10 +1,9 @@
#!/bin/sh
#!/bin/sh
# Slackware build script for libebml
#
# Copyright 2008,2009,2010 Andrew Strong (http://www.andrews-corner.org)
# All rights reserved.
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -23,11 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
PRGNAM=libebml
VERSION=${VERSION:-1.0.0}
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
STATICLIB=${STATICLIB:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@ -56,6 +59,10 @@ else
fi
set -e
if [ "$STATICLIB" = "yes" ]; then
MAKESTATICLIB="staticlib"
MAKESTATICLIBINSTALL="install_staticlib"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -72,9 +79,9 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make -C make/linux sharedlib \
make -C make/linux sharedlib $MAKESTATICLIB \
prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX}
make -C make/linux install_sharedlib install_headers \
make -C make/linux install_sharedlib $MAKESTATICLIBINSTALL install_headers \
prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \

View file

@ -1,10 +1,10 @@
PRGNAM="libebml"
VERSION="1.0.0"
HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix/source.html"
DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.0.0.tar.bz2"
MD5SUM="6d438f03d8928d83a2d120ed02705f03"
DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.2.0.tar.bz2"
MD5SUM="26fbaa556bb497c1134d33b84ab34443"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Ozan Türkyılmaz"
EMAIL="ozan.turkyilmaz@gmail.com"
APPROVED="Michiel van Wessem"
APPROVED="rworkman"