network/mod_python: Updated for version 3.3.1

This commit is contained in:
Ben-Richard Ebbesvik 2010-05-13 00:37:19 +02:00 committed by David Somero
parent 3befa4be87
commit 2a693e3c85
3 changed files with 18 additions and 14 deletions

View file

@ -26,12 +26,14 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xzvf $CWD/$PRGNAM-$VERSION.tgz || exit 1
cd $PRGNAM-$VERSION || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@ -45,10 +47,10 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--with-apxs=/usr/sbin/apxs \
|| exit 1
--build=$ARCH-slackware-linux
make || exit 1
make install DESTDIR=$PKG || exit 1
make
make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@ -65,4 +67,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -2,7 +2,9 @@ PRGNAM="mod_python"
VERSION="3.3.1"
HOMEPAGE="http://www.modpython.org/"
DOWNLOAD="http://www.powertech.no/apache/dist/httpd/modpython/mod_python-3.3.1.tgz"
DOWNLOAD_x86_64=""
MD5SUM="a3b0150176b726bd2833dac3a7837dc5"
MD5SUM_x86_64=""
MAINTAINER="Ben-Richard Ebbesvik"
EMAIL="brebbesvik@yahoo.no"
APPROVED="dsomero"