diff options
Diffstat (limited to 'audio/ncmpc/ncmpc.SlackBuild')
-rw-r--r-- | audio/ncmpc/ncmpc.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild index 0bbc57e15b..74be002a18 100644 --- a/audio/ncmpc/ncmpc.SlackBuild +++ b/audio/ncmpc/ncmpc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ncmpc -# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com> +# Copyright 2006-2010 Andrew Brouwers <abrouwers@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # Modified by the SlackBuilds.org project PRGNAM=ncmpc -VERSION=0.14 +VERSION=0.16 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,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" + LIBDIRSUFFIX="64" fi rm -rf $PKG @@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ || exit 1 @@ -73,4 +77,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} |