wok view linux-libre-appletalk/receipt @ rev 14263
syslinux/iso2exe: tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 31 22:55:34 2013 +0100 (2013-03-31) |
parents | d1768332cee0 |
children | ad59999b3fce |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-appletalk"
4 VERSION="2.6.37-gnu"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux Libre kernel appletalk modules."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 PROVIDE="linux-appletalk"
9 DEPENDS="linux-libre"
10 WANTED="linux-libre"
11 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 local path
17 path=lib/modules/$VERSION-slitaz/kernel
18 mkdir -p $fs/$path
20 export src
21 export _pkg
23 $wanted_stuff/list_modules.sh drivers/net/appletalk net/appletalk \
24 net/802/p8022.ko.gz | while read module; do
25 dir=$path/$(dirname $module)
26 [ -d $fs/$dir ] || mkdir -p $fs/$dir
27 cp -a $_pkg/$path/$module $fs/$dir
28 done
30 for i in $(cat $wanted_stuff/modules-$VERSION.list); do
31 if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
32 rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
33 fi
34 done
35 }
37 # Post install/remove commands for Tazpkg.
38 post_install()
39 {
40 chroot "$1/" depmod -a $VERSION-slitaz
41 }
43 post_remove()
44 {
45 chroot "$1/" depmod -a $VERSION-slitaz
46 }