summaryrefslogtreecommitdiff
path: root/audio/gimmix/gimmix.SlackBuild
diff options
context:
space:
mode:
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