wok-current annotate lighttpd-modules/receipt @ rev 24

Add : lighttpd Web server with stuff
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:51:14 2007 +0100 (2007-12-18)
parents
children cf22fee17710
rev   line source
pankso@24 1 # SliTaz package receipt.
pankso@24 2
pankso@24 3 PACKAGE="lighttpd-modules"
pankso@24 4 VERSION="1.4.18"
pankso@24 5 CATEGORY="extra"
pankso@24 6 SHORT_DESC="Complementary modules for LightTPD Web server."
pankso@24 7 MAINTAINER="pankso@slitaz.org"
pankso@24 8 DEPENDS="lighttpd"
pankso@24 9 WANTED="lighttpd"
pankso@24 10 WEB_SITE="http://www.lighttpd.net/"
pankso@24 11 BASE_MODULES="
pankso@24 12 access
pankso@24 13 accesslog
pankso@24 14 alias
pankso@24 15 cgi
pankso@24 16 fastcgi
pankso@24 17 compress
pankso@24 18 dirlisting
pankso@24 19 indexfile
pankso@24 20 staticfile
pankso@24 21 rewrite
pankso@24 22 status
pankso@24 23 userdir"
pankso@24 24
pankso@24 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@24 26 # On SliTaz Lighttpd runs as user/group : www/www or 80/80.
pankso@24 27 genpkg_rules()
pankso@24 28 {
pankso@24 29 # Modules.
pankso@24 30 mkdir -p $fs/usr/
pankso@24 31 cp -a $_pkg/usr/lib $fs/usr
pankso@24 32 for module in $BASE_MODULES
pankso@24 33 do
pankso@24 34 rm -f $fs/usr/lib/lighttpd/mod_${module}.so
pankso@24 35 done
pankso@24 36 rm -f $fs/usr/lib/lighttpd/*.la
pankso@24 37 strip -s $fs/usr/lib/lighttpd/*
pankso@24 38 }