wok annotate hiawatha/receipt @ rev 17554
Up mdadm (3.3.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 31 18:49:47 2015 +0100 (2015-01-31) |
parents | b994d2c0f802 |
children | a78610b2eb47 |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="hiawatha" |
pascal@12973 | 4 VERSION="8.3.1" |
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@12973 | 10 WEB_SITE="http://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@12973 | 18 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake" |
pascal@12973 | 19 |
pascal@12973 | 20 # Rules to configure and make the package. |
pascal@12973 | 21 compile_rules() |
pascal@12973 | 22 { |
pascal@12973 | 23 cd $src |
pascal@12973 | 24 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \ |
pascal@12973 | 25 -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \ |
pascal@12973 | 26 -DWORK_DIR=/var/lib . |
pascal@12973 | 27 make DESTDIR=$DESTDIR install |
pascal@12973 | 28 } |
pascal@12973 | 29 |
pascal@12973 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 31 genpkg_rules() |
pascal@12973 | 32 { |
pascal@12973 | 33 mkdir -p $fs/usr |
pascal@15182 | 34 cp -a $install/var $fs |
pascal@15182 | 35 cp -a $install/etc $fs |
pascal@15182 | 36 cp -a $install/usr/lib $fs/usr |
pascal@15182 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15182 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@12973 | 39 } |