aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.52@gmail.com>2010-06-17 15:55:48 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-17 15:55:48 -0500
commit6b07118ed628df5076b5abeeed3b0342f5fa7ee6 (patch)
tree8efa92cd1200413a436be6aef8782e1e27476969
parent0210c90b174d234ff22dc1dcffa26df8f5097246 (diff)
libraries/libebml: Updated for version 1.0.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--libraries/libebml/libebml.SlackBuild25
-rw-r--r--libraries/libebml/libebml.info10
2 files changed, 17 insertions, 18 deletions
diff --git a/libraries/libebml/libebml.SlackBuild b/libraries/libebml/libebml.SlackBuild
index 0fc231ed48aa8..b0b7937229496 100644
--- a/libraries/libebml/libebml.SlackBuild
+++ b/libraries/libebml/libebml.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/sh
-# Slackware 12 build script for libebml
-# Last revised: July 17th, 2008.
+# Slackware build script for libebml
#
-# Copyright 2008-2009 Andrew Strong (http://www.andrews-corner.org)
+# Copyright 2008,2009,2010 Andrew Strong (http://www.andrews-corner.org)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,25 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=libebml
-VERSION=${VERSION:-0.7.8}
+PRGNAM=libebml
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -57,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -74,8 +71,10 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} sharedlib -C make/linux
-make prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} install -C make/linux
+make -C make/linux sharedlib \
+ prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX}
+make -C make/linux install_sharedlib install_headers \
+ prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/libebml/libebml.info b/libraries/libebml/libebml.info
index a0510f7d3d46c..73710403d5bd4 100644
--- a/libraries/libebml/libebml.info
+++ b/libraries/libebml/libebml.info
@@ -1,10 +1,10 @@
PRGNAM="libebml"
-VERSION="0.7.8"
+VERSION="1.0.0"
HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix/source.html"
-DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-0.7.8.tar.bz2"
-MD5SUM="6278109f52e4f9d2c8a8dfc0d668b587"
+DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.0.0.tar.bz2"
+MD5SUM="6d438f03d8928d83a2d120ed02705f03"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.45@gmail.com"
-APPROVED="dsomero,rworkman"
+EMAIL="andrew.david.52@gmail.com"
+APPROVED="Erik Hanson"