wok-6.x annotate linux-aufs/receipt @ rev 7268

Added stella. A multi-platform Atari 2600 VCS emulator.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 20:55:00 2010 +0000 (2010-11-14)
parents 63937e3b2979
children
rev   line source
pankso@4251 1 # SliTaz package receipt.
pankso@4251 2
pankso@4251 3 PACKAGE="linux-aufs"
slaxemulator@7131 4 VERSION="2.6.36"
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 }