diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/gmtk/gmtk.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
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} |