diff options
Diffstat (limited to 'network/varnish/varnish.SlackBuild')
-rw-r--r-- | network/varnish/varnish.SlackBuild | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild index acc7ae779f..34a35df72d 100644 --- a/network/varnish/varnish.SlackBuild +++ b/network/varnish/varnish.SlackBuild @@ -1,12 +1,29 @@ #!/bin/sh # # Slackware build script for ganglia -# Written by Cherife Li <cherife@dotimes.com> -# Modified by Robby Workman <rworkman@slackbuilds.org> # +# Copyright 2008 Cherife Li <cherife-#-dotimes.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=varnish -VERSION=1.1.2 +VERSION=${VERSION:-2.0.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,6 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc/varnish \ --localstatedir=/var \ --mandir=/usr/man \ + --enable-static=no \ --build=$ARCH-slackware-linux \ --host=$ARCH-slackware-linux @@ -63,7 +81,7 @@ cat $CWD/rc.varnishd > $PKG/etc/rc.d/rc.varnishd.new ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog LICENSE INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog INSTALL LICENSE README doc/*.{xml,xsl,html,css} $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ( cd $PKG/usr/man |