wok-6.x view hiawatha/receipt @ rev 18258

Add pflogsumm (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 04 21:48:04 2015 +0200 (2015-08-04)
parents b994d2c0f802
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="hiawatha"
4 VERSION="8.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Advanced and secure webserver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.hiawatha-webserver.org/"
11 WGET_URL="${WEB_SITE}files/$TARBALL"
12 PROVIDE="lighttpd"
13 CONFIG_FILES="/etc/hiawatha"
14 TAGS="webserver http server"
15 PROVIDE="lighttpd"
17 DEPENDS="openssl libxml2 libxslt zlib"
18 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
25 -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \
26 -DWORK_DIR=/var/lib .
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/var $fs
35 cp -a $install/etc $fs
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 }