wok annotate linux-aufs/receipt @ rev 6153

Up: libcdio, libcdio-dev, libcdio-utils to 0.82.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 09 20:36:57 2010 +0000 (2010-09-09)
parents 33dfd49cdf84
children 5355ffc461cf
rev   line source
pankso@4251 1 # SliTaz package receipt.
pankso@4251 2
pankso@4251 3 PACKAGE="linux-aufs"
pankso@5640 4 VERSION="2.6.34"
pankso@4251 5 CATEGORY="base-system"
pankso@4251 6 SHORT_DESC="The Linux kernel aufs2 module."
pankso@4251 7 MAINTAINER="devel@slitaz.org"
pankso@4251 8 DEPENDS="linux"
pankso@4251 9 WANTED="linux"
pankso@4251 10 WEB_SITE="http://www.kernel.org/"
pankso@4251 11
pankso@4251 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4251 13 genpkg_rules()
pankso@4251 14 {
pankso@4251 15 local path
pankso@4251 16 path=lib/modules/$VERSION-slitaz/kernel
pankso@4251 17 mkdir -p $fs/$path
pankso@4251 18 export src
pankso@4251 19 export _pkg
pankso@4251 20 $src/slitaz/list_modules.sh fs/aufs | while read module; do
pankso@4251 21 dir=$path/$(dirname $module)
pankso@4251 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pankso@4251 23 cp -a $_pkg/$path/$module $fs/$dir
pankso@4251 24 done
pankso@4251 25 }
pankso@4251 26
pankso@4251 27 # Post install/remove commands for Tazpkg.
pankso@4251 28 post_install()
pankso@4251 29 {
pankso@4251 30 chroot "$1/" depmod -a $VERSION-slitaz
pankso@4251 31 }
pankso@4251 32
pankso@4251 33 post_remove()
pankso@4251 34 {
pankso@4251 35 depmod -a $VERSION-slitaz
pankso@4251 36 }