summaryrefslogtreecommitdiff
path: root/network/mod_wsgi/mod_wsgi.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-21 21:38:20 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:40:56 -0500
commit5c7678345cfa708a1f6631b6460fd23c8ad92750 (patch)
tree932a77c7b27f254d2bf37585160f690fee55a81b /network/mod_wsgi/mod_wsgi.SlackBuild
parent96e909ea83133d27374f3785fc6642ef4779b4a4 (diff)
downloadslackbuilds-5c7678345cfa708a1f6631b6460fd23c8ad92750.tar.gz
network/mod_wsgi: Updated for version 3.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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