diff options
author | Pablo Hernan Saro <pablosaro@gmail.com> | 2010-05-13 00:35:56 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:35:56 +0200 |
commit | fef1426727f109d6a7383982f947d554af87d272 (patch) | |
tree | ae0500cd5b5a614660cadecd3f2e3904142d790b /network/cherokee/cherokee.SlackBuild | |
parent | 869be710c5d74bb95304a04b80ad31a83b6f910f (diff) | |
download | slackbuilds-fef1426727f109d6a7383982f947d554af87d272.tar.gz |
network/cherokee: Updated for version 0.99.24
Diffstat (limited to 'network/cherokee/cherokee.SlackBuild')
-rw-r--r-- | network/cherokee/cherokee.SlackBuild | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/network/cherokee/cherokee.SlackBuild b/network/cherokee/cherokee.SlackBuild index 3b01678cb0..08d7b2ffba 100644 --- a/network/cherokee/cherokee.SlackBuild +++ b/network/cherokee/cherokee.SlackBuild @@ -5,7 +5,7 @@ # Written by Pablo Hernan Saro (pablosaro@gmail.com) PRGNAM=cherokee -VERSION=${VERSION:-0.99.15} +VERSION=${VERSION:-0.99.24} ARCH=${ARCH:-i686} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -26,6 +26,21 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi +# Set the WWW root directory +WWWROOT=${WWWROOT:-/var/www} + +# Enable/Disable IPv6 support +IPV6=${IPV6:-no} + +# Enable/Disable Cherokee-admin installation +ADMIN=${ADMIN:-yes} + +# Add/Remove MySQL client library support +MYSQL=${MYSQL:-yes} + +# Enable/Disable trace facility (debugging options) +TRACE=${TRACE:-no} + set -e rm -rf $PKG @@ -51,9 +66,11 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ - --with-mysql \ - --with-wwwroot=/var/www \ - --disable-ipv6 + --with-wwwroot=$WWWROOT \ + --with-mysql=$MYSQL \ + --enable-ipv6=$IPV6 \ + --enable-admin=$ADMIN \ + --enable-trace=$TRACE make make install DESTDIR=$PKG @@ -75,7 +92,6 @@ cp -a \ AUTHORS COPYING ChangeLog INSTALL NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo install -D -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new mv $PKG/etc/cherokee/cherokee.conf $PKG/etc/cherokee/cherokee.conf.new @@ -85,5 +101,6 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh 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} + |