wok-undigest view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="hiawatha"
4 VERSION="7.8.2"
5 CATEGORY="network"
6 SHORT_DESC="Advanced and secure webserver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.hiawatha-webserver.org/"
10 WGET_URL="${WEB_SITE}files/$TARBALL"
11 PROVIDE="lighttpd"
12 CONFIG_FILES="/etc/hiawatha"
13 TAGS="webserver http server"
15 DEPENDS="openssl libxml2 libxslt zlib"
16 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --enable-chroot \
26 --enable-command \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/var $fs
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/sbin $fs/usr
40 }