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