wok view hiawatha/receipt @ rev 23833

updated picard (1.4.0.5 -> 2.3.1)
author Hans-G?nter Theisgen
date Mon Jun 01 07:18:17 2020 +0100 (2020-06-01)
parents c1f6210bc262
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="hiawatha"
4 VERSION="10.10"
5 CATEGORY="network"
6 TAGS="webserver http server"
7 SHORT_DESC="Advanced and secure webserver."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.hiawatha-webserver.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}files/$TARBALL"
15 PROVIDE="lighttpd"
16 DEPENDS="gcc83-lib-base libxml2 libxslt openssl zlib"
17 BUILD_DEPENDS="cmake gcc83 libxml2-dev libxslt-dev openssl-dev zlib-dev"
19 CONFIG_FILES="/etc/hiawatha"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export CC=gcc-83
25 export CXX=g++-83
27 cmake . \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DCMAKE_INSTALL_SYSCONFDIR=/etc \
30 -DLOG_DIR=/var/log \
31 -DWEBROOT_DIR=/var/www \
32 -DPID_DIR=/var/run \
33 -DWORK_DIR=/var/lib &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/var $fs
43 cp -a $install/etc $fs
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 }