summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/gnome-autoar/README8
-rw-r--r--libraries/gnome-autoar/gnome-autoar.SlackBuild42
2 files changed, 37 insertions, 13 deletions
diff --git a/libraries/gnome-autoar/README b/libraries/gnome-autoar/README
index db725e08a4..e0b27ce032 100644
--- a/libraries/gnome-autoar/README
+++ b/libraries/gnome-autoar/README
@@ -13,7 +13,7 @@ are:
preferences settings.
Below variables can be used to configure the build:
- INTROSPECTION=enabled : Build introspection support
- GTKDOC=true : Build GTK Doc reference
- TESTS=true : Build tests
- VAPI=true : Build vala bindings
+ INTROSPECTION=yes : Build introspection support
+ GTKDOC=yes : Build GTK Doc reference
+ TESTS=yes : Build tests
+ VAPI=yes : Build vala bindings
diff --git a/libraries/gnome-autoar/gnome-autoar.SlackBuild b/libraries/gnome-autoar/gnome-autoar.SlackBuild
index addd3315b4..cc5b4f50f2 100644
--- a/libraries/gnome-autoar/gnome-autoar.SlackBuild
+++ b/libraries/gnome-autoar/gnome-autoar.SlackBuild
@@ -26,14 +26,38 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnome-autoar
VERSION=${VERSION:-0.4.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-INTROSPECTION=${INTROSPECTION:-disabled}
-GTKDOC=${GTKDOC:-false}
-TESTS=${TESTS:-false}
-VAPI=${VAPI:-false}
+INTROSPECTION=${INTROSPECTION:-no}
+GTKDOC=${GTKDOC:-no}
+TESTS=${TESTS:-no}
+VAPI=${VAPI:-no}
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="enabled"
+else
+ INTROSPECTIONP="disabled"
+fi
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="true"
+else
+ TESTSP="false"
+fi
+
+if [ "$VAPI" = "yes" ]; then
+ VAPIP="true"
+else
+ VAPIP="false"
+fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -100,10 +124,10 @@ cd build
--sysconfdir=/etc \
-Dstrip=true \
-Dgtk=true \
- -Dintrospection="$INTROSPECTION" \
- -Dvapi="$VAPI" \
- -Dtests="$TESTS" \
- -Dgtk_doc="$GTKDOC"
+ -Dintrospection="$INTROSPECTIONP" \
+ -Dvapi="$VAPIP" \
+ -Dtests="$TESTSP" \
+ -Dgtk_doc="$GTKDOCP"
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..