diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-11 22:23:51 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:23:51 +0200 |
commit | 8916a193f465f9e5d9a54fac071c91de9fa8e01c (patch) | |
tree | 36d490540946f0e97a2552adaea1669e946d31d8 /libraries/libdvdnav/libdvdnav.SlackBuild | |
parent | 1bdcf5d781984cd22869c5d01d56f2a928b64eda (diff) | |
download | slackbuilds-8916a193f465f9e5d9a54fac071c91de9fa8e01c.tar.gz |
libraries/libdvdnav: Updated for version 4.1.3
Diffstat (limited to 'libraries/libdvdnav/libdvdnav.SlackBuild')
-rw-r--r-- | libraries/libdvdnav/libdvdnav.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/libraries/libdvdnav/libdvdnav.SlackBuild b/libraries/libdvdnav/libdvdnav.SlackBuild index 68d7343387..69de66748c 100644 --- a/libraries/libdvdnav/libdvdnav.SlackBuild +++ b/libraries/libdvdnav/libdvdnav.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libdvdnav -# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at> +# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libdvdnav -VERSION=4.1.1 +VERSION=4.1.3 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -45,13 +47,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -patch -p1 -i $CWD/ifo_print.diff - ./autogen.sh CFLAGS="$SLKCFLAGS" \ @@ -60,17 +60,13 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/man \ - --disable-static + --disable-static \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog COPYING DEVELOPMENT-POLICY.txt \ INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION |