wok annotate hiawatha/receipt @ rev 22072
updated ufw (0.34 -> 0.36)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 25 16:22:34 2019 +0100 (2019-10-25) |
parents | a78610b2eb47 |
children | 6359b5854aa5 |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="hiawatha" |
pascal@21404 | 4 VERSION="10.9" |
pascal@12973 | 5 CATEGORY="network" |
pascal@12973 | 6 SHORT_DESC="Advanced and secure webserver." |
pascal@12973 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15182 | 8 LICENSE="GPL2" |
pascal@12973 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://www.hiawatha-webserver.org/" |
pascal@12973 | 11 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@12973 | 12 PROVIDE="lighttpd" |
pascal@12973 | 13 CONFIG_FILES="/etc/hiawatha" |
pascal@12973 | 14 TAGS="webserver http server" |
pascal@15182 | 15 PROVIDE="lighttpd" |
pascal@12973 | 16 |
pascal@12973 | 17 DEPENDS="openssl libxml2 libxslt zlib" |
pascal@21404 | 18 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake gcc83" |
pascal@12973 | 19 |
pascal@12973 | 20 # Rules to configure and make the package. |
pascal@12973 | 21 compile_rules() |
pascal@12973 | 22 { |
pascal@21404 | 23 export CC=gcc-83 |
pascal@21404 | 24 export CXX=g++-83 |
pascal@12973 | 25 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \ |
pascal@12973 | 26 -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \ |
pascal@12973 | 27 -DWORK_DIR=/var/lib . |
pascal@12973 | 28 make DESTDIR=$DESTDIR install |
pascal@12973 | 29 } |
pascal@12973 | 30 |
pascal@12973 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 32 genpkg_rules() |
pascal@12973 | 33 { |
pascal@12973 | 34 mkdir -p $fs/usr |
pascal@15182 | 35 cp -a $install/var $fs |
pascal@15182 | 36 cp -a $install/etc $fs |
pascal@15182 | 37 cp -a $install/usr/lib $fs/usr |
pascal@15182 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15182 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@12973 | 40 } |