wok-6.x view lighttpd-modules/receipt @ rev 13299

dukto: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 14:08:54 2012 +0200 (2012-08-28)
parents c29ac5f14958
children 2a5cc8208d36
line source
1 # SliTaz package receipt.
3 PACKAGE="lighttpd-modules"
4 VERSION="1.4.30"
5 CATEGORY="network"
6 SHORT_DESC="Complementary modules for LightTPD Web server."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="lighttpd bzip2 zlib"
9 WANTED="lighttpd"
10 WEB_SITE="http://www.lighttpd.net/"
11 BASE_MODULES="
12 access
13 accesslog
14 alias
15 cgi
16 dirlisting
17 indexfile
18 staticfile
19 rewrite
20 status
21 userdir"
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 # On SliTaz Lighttpd runs as user/group : www/www or 80/80.
25 genpkg_rules()
26 {
27 # Modules.
28 mkdir -p $fs/usr/
29 cp -a $_pkg/usr/lib $fs/usr
30 for module in $BASE_MODULES
31 do
32 rm -f $fs/usr/lib/lighttpd/mod_${module}.so
33 done
34 rm -f $fs/usr/lib/lighttpd/*.la
35 strip -s $fs/usr/lib/lighttpd/*
36 }