wok-6.x view hiawatha/receipt @ rev 22859
updated gnaughty (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 20 14:50:56 2020 +0100 (2020-02-20) |
parents | a78610b2eb47 |
children | 6359b5854aa5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hiawatha"
4 VERSION="10.9"
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="https://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 gcc83"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export CC=gcc-83
24 export CXX=g++-83
25 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
26 -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \
27 -DWORK_DIR=/var/lib .
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/var $fs
36 cp -a $install/etc $fs
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 }