wok-6.x annotate hiawatha/receipt @ rev 14546
firefox-langpack-ru: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 21:57:03 2013 +0200 (2013-05-22) |
parents | |
children | 92c944abb6f5 |
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@12973 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12973 | 9 WEB_SITE="http://www.hiawatha-webserver.org/" |
pascal@12973 | 10 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@12973 | 11 PROVIDE="lighttpd" |
pascal@12973 | 12 CONFIG_FILES="/etc/hiawatha" |
pascal@12973 | 13 TAGS="webserver http server" |
pascal@12973 | 14 |
pascal@12973 | 15 DEPENDS="openssl libxml2 libxslt zlib" |
pascal@12973 | 16 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake" |
pascal@12973 | 17 |
pascal@12973 | 18 # Rules to configure and make the package. |
pascal@12973 | 19 compile_rules() |
pascal@12973 | 20 { |
pascal@12973 | 21 cd $src |
pascal@12973 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \ |
pascal@12973 | 23 -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \ |
pascal@12973 | 24 -DWORK_DIR=/var/lib . |
pascal@12973 | 25 make DESTDIR=$DESTDIR install |
pascal@12973 | 26 } |
pascal@12973 | 27 |
pascal@12973 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 29 genpkg_rules() |
pascal@12973 | 30 { |
pascal@12973 | 31 mkdir -p $fs/usr |
pascal@12973 | 32 cp -a $_pkg/var $fs |
pascal@12973 | 33 cp -a $_pkg/etc $fs |
pascal@12973 | 34 cp -a $_pkg/usr/lib $fs/usr |
pascal@12973 | 35 cp -a $_pkg/usr/bin $fs/usr |
pascal@12973 | 36 cp -a $_pkg/usr/sbin $fs/usr |
pascal@12973 | 37 } |