wok-4.x annotate linux-aufs/receipt @ rev 5369
rename qt-everywhere* to simple qt4; improve all receipts; tazwok need to work with SOURCE and WANTED (feature not patched for quite long now); improve compile options and add libQtOpenGL back
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Apr 29 14:42:30 2010 -0400 (2010-04-29) |
parents | 3681131f240a |
children | 33dfd49cdf84 |
rev | line source |
---|---|
pankso@4251 | 1 # SliTaz package receipt. |
pankso@4251 | 2 |
pankso@4251 | 3 PACKAGE="linux-aufs" |
pankso@5245 | 4 VERSION="2.6.33.2" |
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 } |