Browse Source

n/mod_wsgi: Upgraded to mod_wsgi-4.5.3.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
04443c234b
  1. 1
      n/mod_wsgi/mod_wsgi-4.4.21.tar.gz.sha1
  2. 1
      n/mod_wsgi/mod_wsgi-4.5.3.tar.gz.sha1
  3. 14
      n/mod_wsgi/mod_wsgi.SlackBuild

1
n/mod_wsgi/mod_wsgi-4.4.21.tar.gz.sha1

@ -1 +0,0 @@
04d9f423a58daf548e289a27f2bbc64d749c41d2 mod_wsgi-4.4.21.tar.gz

1
n/mod_wsgi/mod_wsgi-4.5.3.tar.gz.sha1

@ -0,0 +1 @@
33c82953d68b4c1688a14f70b5a7d5c69cc1b917 mod_wsgi-4.5.3.tar.gz

14
n/mod_wsgi/mod_wsgi.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2011,2015 Damien Goutte-Gattat
# Copyright (C) 2009,2011,2015,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-mod_wsgi}
VERSION=${VERSION:-4.4.21}
VERSION=${VERSION:-4.5.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/GrahamDumpleton/mod_wsgi/archive/$VERSION.tar.gz}
@ -77,11 +77,13 @@ fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
# Extract
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Build the Apache httpd module
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
@ -89,13 +91,17 @@ CXXFLAGS=$CPUOPT \
make -j $JOBS
make install DESTDIR=$PKG
# Build the Python module
python setup.py build
python setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 CREDITS.rst README.rst $PKG/usr/doc/$NAME
install -m 644 CREDITS.rst LICENSE README.rst $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save