summaryrefslogtreecommitdiff
path: root/libraries/lilv/lilv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lilv/lilv.SlackBuild')
-rw-r--r--libraries/lilv/lilv.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/libraries/lilv/lilv.SlackBuild b/libraries/lilv/lilv.SlackBuild
index 028db0ad97..aa121f8f71 100644
--- a/libraries/lilv/lilv.SlackBuild
+++ b/libraries/lilv/lilv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lilv
-# Copyright 2012-2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lilv
-VERSION=0.16.0
+VERSION=${VERSION:-0.18.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +54,13 @@ else
LIBDIRSUFFIX=""
fi
+if [ "${BINDINGS:-no}" = "no" ]; then
+ bindings=""
+else
+ bindings="--bindings"
+ SLKCFLAGS="$SLKCFLAGS -I/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/numpy/core/include/"
+fi
+
set -e
rm -rf $PKG
@@ -69,9 +76,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix building python bindings
-patch -p2 -i $CWD/lilvmm.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure \
@@ -80,8 +84,8 @@ CXXFLAGS="$SLKCFLAGS" \
--configdir=/etc \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --bindings \
- --dyn-manifest
+ --dyn-manifest \
+ $bindings
./waf