wok-6.x annotate lighttpd-modules/receipt @ rev 5691

linux: add missing patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 05 13:07:53 2010 +0200 (2010-06-05)
parents 872f24fa4b75
children c29ac5f14958
rev   line source
pankso@24 1 # SliTaz package receipt.
pankso@24 2
pankso@24 3 PACKAGE="lighttpd-modules"
erjo@5172 4 VERSION="1.4.26"
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 }