diff options
Diffstat (limited to 'development/ola/ola.SlackBuild')
-rw-r--r-- | development/ola/ola.SlackBuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/development/ola/ola.SlackBuild b/development/ola/ola.SlackBuild index 05e042cb67f5a..f7628becc96ba 100644 --- a/development/ola/ola.SlackBuild +++ b/development/ola/ola.SlackBuild @@ -5,11 +5,11 @@ # Written by Georg Nagel (g.schlmm [at] gmail [dot] com) PRGNAM=ola -VERSION=${VERSION:-0.8.14} +VERSION=${VERSION:-0.8.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -WITH_HTTP=${WITH_HTTP:-yes} +WITH_HTTP=${WITH_HTTP:-no} WITH_PYTHON=${WITH_PYTHON:-yes} if [ -z "$ARCH" ]; then @@ -54,15 +54,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -BUILD_HTTP="--enable-http" -if [ "$WITH_HTTP" = "no" ]; then - BUILD_HTTP="--disable-http" -fi +BUILD_HTTP="--disable-http" +[ "$WITH_HTTP" != "no" ] && BUILD_HTTP="--enable-http" -BUILD_PYTHON="" -if [ "$WITH_PYTHON" = "yes" ]; then - BUILD_PYTHON="--enable-python-libs" -fi +BUILD_PYTHON="--enable-python-libs" +[ "$WITH_PYTHON" != "yes" ] && BUILD_PYTHON="" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -73,9 +69,8 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - $BUILD_HTTP \ - $BUILD_PYTHON \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux \ + $BUILD_HTTP $BUILD_PYTHON make make install DESTDIR=$PKG |