aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmatroska/libmatroska.SlackBuild
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.52@gmail.com>2010-06-17 15:58:22 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-17 15:58:22 -0500
commitdcd78f43b88c4b233de4384873414c6e6a2aef11 (patch)
tree5225707de1aec82c5a9cf465e86a9952b9956f64 /libraries/libmatroska/libmatroska.SlackBuild
parent6b07118ed628df5076b5abeeed3b0342f5fa7ee6 (diff)
libraries/libmatroska: Updated for version 1.0.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/libmatroska/libmatroska.SlackBuild')
-rw-r--r--libraries/libmatroska/libmatroska.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/libraries/libmatroska/libmatroska.SlackBuild b/libraries/libmatroska/libmatroska.SlackBuild
index 6d5f26f699126..c3b197e43daeb 100644
--- a/libraries/libmatroska/libmatroska.SlackBuild
+++ b/libraries/libmatroska/libmatroska.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware 12 build script for libmatroska
+# Slackware build script for libmatroska
-# 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
@@ -22,17 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=libmatroska
-VERSION=0.8.1
+PRGNAM=libmatroska
+VERSION=1.0.0
BUILD=${BUILD:-1}
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
@@ -72,11 +70,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
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