summaryrefslogtreecommitdiff
path: root/libraries/libmatroska/libmatroska.SlackBuild
diff options
context:
space:
mode:
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 6d5f26f699..c3b197e43d 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