wok-next annotate linux-appletalk/receipt @ rev 8744
Revert last commit for WxWidgets. We use tazwok-experimental now.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 17:19:11 2011 +0000 (2011-02-19) |
parents | 03d4663c81fa |
children | d1768332cee0 |
rev | line source |
---|---|
pascal@2159 | 1 # SliTaz package receipt. |
pascal@2159 | 2 |
pascal@2159 | 3 PACKAGE="linux-appletalk" |
slaxemulator@8085 | 4 VERSION="2.6.37" |
pascal@2159 | 5 CATEGORY="base-system" |
pascal@2159 | 6 SHORT_DESC="The Linux kernel appletalk modules." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@2926 | 8 DEPENDS="linux" |
pascal@2159 | 9 WANTED="linux" |
pascal@2159 | 10 WEB_SITE="http://www.kernel.org/" |
pascal@2159 | 11 |
pascal@2159 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2159 | 13 genpkg_rules() |
pascal@2159 | 14 { |
pascal@2159 | 15 local path |
pascal@2159 | 16 path=lib/modules/$VERSION-slitaz/kernel |
pascal@2159 | 17 mkdir -p $fs/$path |
pascal@2159 | 18 |
pascal@2159 | 19 export src |
pascal@2159 | 20 export _pkg |
pascal@2159 | 21 |
slaxemulator@8681 | 22 $WOK/$WANTED/stuff/list_modules.sh drivers/net/appletalk net/appletalk \ |
pascal@2990 | 23 net/802/p8022.ko.gz | while read module; do |
pascal@2159 | 24 dir=$path/$(dirname $module) |
pascal@2159 | 25 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@2159 | 26 cp -a $_pkg/$path/$module $fs/$dir |
pascal@2159 | 27 done |
slaxemulator@7239 | 28 |
slaxemulator@7239 | 29 for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do |
slaxemulator@7239 | 30 if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then |
slaxemulator@7239 | 31 rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i |
slaxemulator@7239 | 32 fi |
slaxemulator@7239 | 33 done |
pascal@2159 | 34 } |
pascal@2159 | 35 |
pascal@2159 | 36 # Post install/remove commands for Tazpkg. |
pascal@2159 | 37 post_install() |
pascal@2159 | 38 { |
pascal@2990 | 39 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@2159 | 40 } |
pascal@2159 | 41 |
pascal@2159 | 42 post_remove() |
pascal@2159 | 43 { |
slaxemulator@8681 | 44 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@2159 | 45 } |
pascal@2159 | 46 |