wok-next view hiawatha/receipt @ rev 19289
buildbot: fix typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 06 10:44:58 2016 +0300 (2016-07-06) |
parents | b994d2c0f802 |
children | 5df90f17659d |
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 }