wok-current view hiawatha/receipt @ rev 21235

libhtp; update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 11 14:51:36 2019 +0200 (2019-04-11)
parents 92c944abb6f5
children c1f6210bc262
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="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"
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 }