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

Add python-netaddr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 11 13:47:18 2013 +0200 (2013-05-11)
parents
children 92c944abb6f5
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 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 cmake"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
23 -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \
24 -DWORK_DIR=/var/lib .
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/var $fs
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 }