wok annotate linux-appletalk/receipt @ rev 5187
syslinux: msg for 3.0 and up splash image
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 28 00:46:39 2010 +0100 (2010-03-28) |
parents | bea1fdc6a26e |
children | 2ae67cafd57e |
rev | line source |
---|---|
pascal@2159 | 1 # SliTaz package receipt. |
pascal@2159 | 2 |
pascal@2159 | 3 PACKAGE="linux-appletalk" |
pankso@4056 | 4 VERSION="2.6.30.6" |
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 |
pascal@2159 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2159 | 14 genpkg_rules() |
pascal@2159 | 15 { |
pascal@2159 | 16 local path |
pascal@2159 | 17 path=lib/modules/$VERSION-slitaz/kernel |
pascal@2159 | 18 mkdir -p $fs/$path |
pascal@2159 | 19 |
pascal@2159 | 20 export src |
pascal@2159 | 21 export _pkg |
pascal@2159 | 22 |
pascal@3920 | 23 $src/slitaz/list_modules.sh drivers/net/appletalk net/appletalk \ |
pascal@2990 | 24 net/802/p8022.ko.gz | while read module; do |
pascal@2159 | 25 dir=$path/$(dirname $module) |
pascal@2159 | 26 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@2159 | 27 cp -a $_pkg/$path/$module $fs/$dir |
pascal@2159 | 28 done |
pascal@2159 | 29 } |
pascal@2159 | 30 |
pascal@2159 | 31 # Post install/remove commands for Tazpkg. |
pascal@2159 | 32 post_install() |
pascal@2159 | 33 { |
pascal@2990 | 34 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@2159 | 35 } |
pascal@2159 | 36 |
pascal@2159 | 37 post_remove() |
pascal@2159 | 38 { |
pascal@2159 | 39 depmod -a $VERSION-slitaz |
pascal@2159 | 40 } |
pascal@2159 | 41 |