diff options
Diffstat (limited to 'network/gyachi/gyachi.SlackBuild')
-rw-r--r-- | network/gyachi/gyachi.SlackBuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/network/gyachi/gyachi.SlackBuild b/network/gyachi/gyachi.SlackBuild index 1f0de33c0b..8658a832df 100644 --- a/network/gyachi/gyachi.SlackBuild +++ b/network/gyachi/gyachi.SlackBuild @@ -3,11 +3,11 @@ # Slackware build script for gyachi # Copyright (c) 2006, 2007, 2008, 2009 Althaf K Backer althafkbacker@gmail.com -# +# # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. -# +# # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR @@ -39,10 +39,10 @@ elif [ "$ARCH" = "x86_64" ]; then WINE_STATUS="--disable-wine" fi -if [ "$USE_LIBNOTIFY" != "no" ]; then - LIBNOTIFY_STATUS="--enable-plugin_libnotify" -else +if [ "${USE_LIBNOTIFY:-no}" = "no" ]; then LIBNOTIFY_STATUS="--disable-plugin_libnotify" +else + LIBNOTIFY_STATUS="--enable-plugin_libnotify" fi set -e @@ -55,7 +55,9 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . + ./autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -69,6 +71,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --build=$ARCH-slackware-linux \ --enable-maintainer-mode \ + --disable-plugin_pulseaudio \ ${WINE_STATUS} \ ${LIBNOTIFY_STATUS} @@ -82,16 +85,12 @@ make install DESTDIR=$PKG xargs strip --strip-unneeded 2> /dev/null ) -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +# --docdir / --htmldir are ignored +mv $PKG/usr/share/doc $PKG/usr/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( 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/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} |