diff options
Diffstat (limited to 'multimedia/smpeg')
-rw-r--r-- | multimedia/smpeg/smpeg.SlackBuild | 15 | ||||
-rw-r--r-- | multimedia/smpeg/smpeg.info | 12 |
2 files changed, 16 insertions, 11 deletions
diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild index a717debcf323..93f89ba5ba89 100644 --- a/multimedia/smpeg/smpeg.SlackBuild +++ b/multimedia/smpeg/smpeg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for smpeg -# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2007-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=smpeg -VERSION=r374 +VERSION=r389 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -47,7 +50,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -58,12 +61,12 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -82,4 +85,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/smpeg/smpeg.info b/multimedia/smpeg/smpeg.info index 1d810a21ee79..82a3c6ea9080 100644 --- a/multimedia/smpeg/smpeg.info +++ b/multimedia/smpeg/smpeg.info @@ -1,8 +1,10 @@ PRGNAM="smpeg" -VERSION="r374" +VERSION="r389" HOMEPAGE="http://icculus.org/smpeg/" -DOWNLOAD="http://www.liwjatan.at/files/src/smpeg-r374.tar.bz2" -MD5SUM="10b4b5e015a745c51fdbb05451e9916f" -MAINTAINER="ppr:kut" +DOWNLOAD="http://www.liwjatan.at/files/src/smpeg-r389.tar.xz" +MD5SUM="a6d31e1dcd7a92ea33716d8b9efb67e1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" -APPROVED="dsomero" +APPROVED="Erik Hanson" |