From 10845d9a595131abf33b2b3e6bceea6ae06b1c6d Mon Sep 17 00:00:00 2001 From: Phillip Warner Date: Sun, 30 Sep 2012 22:02:10 +0200 Subject: libraries/gmtk: Fixed gconf/dconf inclusion/exclusion logic. Signed-off-by: Matteo Bernardini --- libraries/gmtk/gmtk.SlackBuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libraries') diff --git a/libraries/gmtk/gmtk.SlackBuild b/libraries/gmtk/gmtk.SlackBuild index 409a655ed8..a188298f76 100644 --- a/libraries/gmtk/gmtk.SlackBuild +++ b/libraries/gmtk/gmtk.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=gmtk VERSION=${VERSION:-1.0.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -22,8 +22,8 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Assume we're using gconf unless otherwise specified -# set to "yes" to use dconf -DCONF=${DCONF:-no} +# set to "YES" to use dconf +DCONF=${DCONF:-NO} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -54,11 +54,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -# If GCONF=YES above, then enable gconf; otherwise, disable it. -if [ "$DCONF" = "no" ]; then - do_gconf="enable" - else +# If DCONF=YES above, then disable gconf; otherwise, enable it. +if [ "$DCONF" = "YES" ]; then do_gconf="disable" + else + do_gconf="enable" fi CFLAGS="$SLKCFLAGS" \ @@ -82,6 +82,7 @@ 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 cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3