diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:37:01 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:37:01 +0200 |
commit | d0ad6377b8c16db42afd505fd069002474fed90c (patch) | |
tree | f34bedf46a60941cf9bcc44c6bdb0b0ba4e2483b /audio/gmpc/gmpc.SlackBuild | |
parent | 9ade3eaefc483464d4a2cb9f89a2acb2c5acd12e (diff) |
audio/gmpc: Updated for version 0.17.0
Diffstat (limited to 'audio/gmpc/gmpc.SlackBuild')
-rw-r--r-- | audio/gmpc/gmpc.SlackBuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/audio/gmpc/gmpc.SlackBuild b/audio/gmpc/gmpc.SlackBuild index 962769c113f11..496b3cdd4e7c5 100644 --- a/audio/gmpc/gmpc.SlackBuild +++ b/audio/gmpc/gmpc.SlackBuild @@ -3,10 +3,8 @@ # Slackware build script for GMPC # Written by Erik Hanson erik@slackbuilds.org -set -eu - PRGNAM=gmpc -VERSION=${VERSION:-0.15.5.0} +VERSION=${VERSION:-0.17.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -24,8 +22,10 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi +set -eu + rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz @@ -45,14 +45,21 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --disable-static \ --enable-configdir \ - --enable-artist-browser + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +( cd $PKG/usr/man || exit 1 + 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 COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |