libraries/gmtk: Fixed gconf/dconf inclusion/exclusion logic.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
4512e27fa6
commit
10845d9a59
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue