summaryrefslogtreecommitdiff
path: root/audio/gimmix/gimmix.SlackBuild
diff options
context:
space:
mode:
authorKristaps Esterlins <esterlins@gmail.com>2010-05-12 17:36:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:36:57 +0200
commitc01de60f77fae421ddf903e9760d7e1a852be822 (patch)
treed9f1011fdd636527f907b1cd7282990dfdacac67 /audio/gimmix/gimmix.SlackBuild
parent074823f7894978afd8825c6af5b0895fc28cf587 (diff)
downloadslackbuilds-c01de60f77fae421ddf903e9760d7e1a852be822.tar.gz
audio/gimmix: Updated for version 0.5.3
Diffstat (limited to 'audio/gimmix/gimmix.SlackBuild')
-rw-r--r--audio/gimmix/gimmix.SlackBuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/audio/gimmix/gimmix.SlackBuild b/audio/gimmix/gimmix.SlackBuild
index 6615ac2a96..6e7ac01afa 100644
--- a/audio/gimmix/gimmix.SlackBuild
+++ b/audio/gimmix/gimmix.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kristaps Esterlins <esterlinsh[at]gmail.com>
PRGNAM=gimmix
-VERSION=0.4.3
+VERSION=0.5.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,14 +37,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Replace "enable" with "disable" -cover and -lyrics if you do not
+# want to have built in plugins for cover and lyrics fetching.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --enable-cover \
+ --enable-lyrics \
--build=$ARCH-slackware-linux
make
@@ -55,8 +60,14 @@ make install DESTDIR=$PKG
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
+( 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 COPYING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install