diff options
Diffstat (limited to 'libraries/libchamplain/libchamplain.SlackBuild')
-rw-r--r-- | libraries/libchamplain/libchamplain.SlackBuild | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/libraries/libchamplain/libchamplain.SlackBuild b/libraries/libchamplain/libchamplain.SlackBuild index 51d778cde3f29..773c9d9a0136d 100644 --- a/libraries/libchamplain/libchamplain.SlackBuild +++ b/libraries/libchamplain/libchamplain.SlackBuild @@ -30,9 +30,27 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -INTROSPECTION=${INTROSPECTION:-false} -VAPI=${VAPI:-false} -GTKDOC=${GTKDOC:-false} +INTROSPECTION=${INTROSPECTION:-no} +VAPI=${VAPI:-no} +GTKDOC=${GTKDOC:-no} + +if [ "$INTROSPECTION" = "yes" ]; then + INTROSPECTIONP="true" +else + INTROSPECTIONP="false" +fi + +if [ "$VAPI" = "yes" ]; then + VAPIP="true" +else + VAPIP="false" +fi + +if [ "$GTKDOC" = "yes" ]; then + GTKDOCP="true" +else + GTKDOCP="false" +fi if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -98,10 +116,10 @@ cd build --prefix=/usr \ --sysconfdir=/etc \ --wrap-mode=nodownload \ - -Dintrospection="$INTROSPECTION" \ - -Dvapi="$VAPI" \ + -Dintrospection="$INTROSPECTIONP" \ + -Dvapi="$VAPIP" \ -Dwidgetry=true \ - -Dgtk_doc="$GTKDOC" \ + -Dgtk_doc="$GTKDOCP" \ -Dstrip=true "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install |