wok annotate linux-wimax/receipt @ rev 8623
Fix: libarchive doesn't need acl hack anymore: acl files are now installed to the right location.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 20:54:26 2011 +0100 (2011-02-14) |
parents | 7b2d17996a15 |
children | 1d89aa1672da |
rev | line source |
---|---|
pascal@3056 | 1 # SliTaz package receipt. |
pascal@3056 | 2 |
pascal@3056 | 3 PACKAGE="linux-wimax" |
slaxemulator@8085 | 4 VERSION="2.6.37" |
pascal@3056 | 5 CATEGORY="base-system" |
pascal@3056 | 6 SHORT_DESC="The Linux kernel wimax modules." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@3056 | 8 WANTED="linux" |
pascal@3056 | 9 WEB_SITE="http://www.kernel.org/" |
pascal@3056 | 10 |
pascal@3056 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3056 | 12 genpkg_rules() |
pascal@3056 | 13 { |
pascal@3056 | 14 local path |
pascal@3056 | 15 path=lib/modules/$VERSION-slitaz/kernel |
pascal@3056 | 16 mkdir -p $fs/$path |
pascal@3056 | 17 |
pascal@3056 | 18 export src |
pascal@3056 | 19 export _pkg |
pascal@3056 | 20 |
pascal@3920 | 21 $src/slitaz/list_modules.sh drivers/net/wimax net/wimax | while read module; do |
pascal@3056 | 22 dir=$path/$(dirname $module) |
pascal@3056 | 23 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@3056 | 24 cp -a $_pkg/$path/$module $fs/$dir |
pascal@3056 | 25 done |
slaxemulator@7239 | 26 |
slaxemulator@7239 | 27 for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do |
slaxemulator@7239 | 28 if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then |
slaxemulator@7239 | 29 rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i |
slaxemulator@7239 | 30 fi |
slaxemulator@7239 | 31 done |
pascal@3056 | 32 } |
pascal@3056 | 33 |
pascal@3056 | 34 # Post install/remove commands for Tazpkg. |
pascal@3056 | 35 post_install() |
pascal@3056 | 36 { |
pascal@3056 | 37 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@3056 | 38 } |
pascal@3056 | 39 |
pascal@3056 | 40 post_remove() |
pascal@3056 | 41 { |
pascal@3056 | 42 depmod -a $VERSION-slitaz |
pascal@3056 | 43 } |
pascal@3056 | 44 |