wok-undigest annotate hiawatha/receipt @ rev 702

mingw32-binutils: add -Wno-error=unused-but-set-variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 29 12:38:21 2012 +0200 (2012-05-29)
parents
children 3eff2fbf225f
rev   line source
pascal@621 1 # SliTaz package receipt.
pascal@621 2
pascal@621 3 PACKAGE="hiawatha"
pascal@621 4 VERSION="7.8.2"
pascal@621 5 CATEGORY="network"
pascal@621 6 SHORT_DESC="Advanced and secure webserver."
pascal@621 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@621 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@621 9 WEB_SITE="http://www.hiawatha-webserver.org/"
pascal@621 10 WGET_URL="${WEB_SITE}files/$TARBALL"
pascal@621 11 PROVIDE="lighttpd"
pascal@621 12 CONFIG_FILES="/etc/hiawatha"
pascal@621 13 TAGS="webserver http server"
pascal@621 14
pascal@621 15 DEPENDS="openssl libxml2 libxslt zlib"
pascal@621 16 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev"
pascal@621 17
pascal@621 18 # Rules to configure and make the package.
pascal@621 19 compile_rules()
pascal@621 20 {
pascal@621 21 cd $src
pascal@621 22 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@621 23 --sysconfdir=/etc \
pascal@621 24 --localstatedir=/var \
pascal@621 25 --enable-chroot \
pascal@621 26 --enable-command \
pascal@621 27 $CONFIGURE_ARGS &&
pascal@621 28 make &&
pascal@621 29 make DESTDIR=$PWD/_pkg install
pascal@621 30 }
pascal@621 31
pascal@621 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@621 33 genpkg_rules()
pascal@621 34 {
pascal@621 35 mkdir -p $fs/usr
pascal@621 36 cp -a $_pkg/var $fs
pascal@621 37 cp -a $_pkg/etc $fs
pascal@621 38 cp -a $_pkg/usr/bin $fs/usr
pascal@621 39 cp -a $_pkg/usr/sbin $fs/usr
pascal@621 40 }