wok annotate linux-netfilter/receipt @ rev 3864

Up: linux (2.6.30.4)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Aug 07 23:18:34 2009 +0200 (2009-08-07)
parents d91bf195bd16
children bea1fdc6a26e
rev   line source
pascal@2158 1 # SliTaz package receipt.
pascal@2158 2
pankso@3864 3
pankso@3864 4
pankso@3864 5 PACKED_SIZE="8.0k"
pankso@3864 6 UNPACKED_SIZE="4.0k"
pascal@2158 7 PACKAGE="linux-netfilter"
pankso@3864 8 VERSION="2.6.30.4"
pascal@2158 9 CATEGORY="base-system"
pascal@2158 10 SHORT_DESC="The Linux kernel netfilter modules."
pankso@3864 11 MAINTAINER="devel@slitaz.org"
pascal@2926 12 DEPENDS="linux"
pascal@2158 13 WANTED="linux"
pascal@2158 14 WEB_SITE="http://www.kernel.org/"
pascal@2158 15
pascal@2158 16
pascal@2158 17 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2158 18 genpkg_rules()
pascal@2158 19 {
pascal@2158 20 local path
pascal@2158 21 path=lib/modules/$VERSION-slitaz/kernel
pascal@2158 22 mkdir -p $fs/$path
pascal@2158 23
pascal@2158 24 export src
pascal@2158 25 export _pkg
pascal@2158 26
jozee@3510 27 $src/list_modules.sh net/netfilter net/ipv4/netfilter net/8021q | \
pascal@2158 28 while read module; do
pascal@2158 29 dir=$path/$(dirname $module)
pascal@2158 30 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@2158 31 cp -a $_pkg/$path/$module $fs/$dir
pascal@2158 32 done
pascal@2158 33 }
pascal@2158 34
pascal@2158 35 # Post install/remove commands for Tazpkg.
pascal@2158 36 post_install()
pascal@2158 37 {
pascal@2990 38 chroot "$1/" depmod -a $VERSION-slitaz
pascal@2158 39 }
pascal@2158 40
pascal@2158 41 post_remove()
pascal@2158 42 {
pascal@2158 43 depmod -a $VERSION-slitaz
pascal@2158 44 }
pascal@2158 45