wok-next annotate lighttpd-modules/receipt @ rev 7931
Up: slitaz-tools (4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 13:40:16 2011 +0100 (2011-01-11) |
parents | d09da18b3028 |
children | 6035b94b5dd0 |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="lighttpd-modules" |
slaxemulator@6149 | 4 VERSION="1.4.28" |
pankso@211 | 5 CATEGORY="network" |
pankso@24 | 6 SHORT_DESC="Complementary modules for LightTPD Web server." |
pankso@24 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2475 | 8 DEPENDS="lighttpd bzip2 zlib" |
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 dirlisting |
pankso@24 | 17 indexfile |
pankso@24 | 18 staticfile |
pankso@24 | 19 rewrite |
pankso@24 | 20 status |
pankso@24 | 21 userdir" |
pankso@24 | 22 |
pankso@24 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 24 # On SliTaz Lighttpd runs as user/group : www/www or 80/80. |
pankso@24 | 25 genpkg_rules() |
pankso@24 | 26 { |
pankso@24 | 27 # Modules. |
pankso@24 | 28 mkdir -p $fs/usr/ |
pankso@24 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@24 | 30 for module in $BASE_MODULES |
pankso@24 | 31 do |
pankso@24 | 32 rm -f $fs/usr/lib/lighttpd/mod_${module}.so |
pankso@24 | 33 done |
pankso@24 | 34 rm -f $fs/usr/lib/lighttpd/*.la |
pankso@24 | 35 strip -s $fs/usr/lib/lighttpd/* |
pankso@24 | 36 } |