summaryrefslogtreecommitdiff
path: root/network/mod_wsgi/mod_wsgi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_wsgi/mod_wsgi.SlackBuild')
-rw-r--r--network/mod_wsgi/mod_wsgi.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/network/mod_wsgi/mod_wsgi.SlackBuild b/network/mod_wsgi/mod_wsgi.SlackBuild
index 922ecc64fd..5dd52484b1 100644
--- a/network/mod_wsgi/mod_wsgi.SlackBuild
+++ b/network/mod_wsgi/mod_wsgi.SlackBuild
@@ -6,8 +6,8 @@
## Licensed under GNU GPL v2
PRGNAM=mod_wsgi
-VERSION=3.1
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -42,14 +42,9 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
./configure
-
-# libtool can't find shared Python library;
-# there should be symlink to libpython in /usr/lib${LIBDIRSUFFIX}/python2.6/config
-# see http://code.google.com/p/modwsgi/wiki/InstallationIssues
-make LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
+make
make install DESTDIR=$PKG
-# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null