wok view hiawatha/receipt @ rev 15806
Up: sudoku to 2.3. Fixed WEB_SITE and WGET_URL so we get the app and not a error page.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 24 01:35:01 2014 +0000 (2014-01-24) |
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 }