wok-6.x annotate linux-wimax/receipt @ rev 6557
Up: fltk, fltk-dev, fltk-doc to 1.1.10. I removed one of the patches since its not need anymore. Added --enable-threads so cinepaint can build.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 19:00:41 2010 +0000 (2010-10-07) |
parents | 33dfd49cdf84 |
children | 5355ffc461cf |
rev | line source |
---|---|
pascal@3056 | 1 # SliTaz package receipt. |
pascal@3056 | 2 |
pascal@3056 | 3 PACKAGE="linux-wimax" |
pankso@5640 | 4 VERSION="2.6.34" |
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 |
pascal@3056 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3056 | 13 genpkg_rules() |
pascal@3056 | 14 { |
pascal@3056 | 15 local path |
pascal@3056 | 16 path=lib/modules/$VERSION-slitaz/kernel |
pascal@3056 | 17 mkdir -p $fs/$path |
pascal@3056 | 18 |
pascal@3056 | 19 export src |
pascal@3056 | 20 export _pkg |
pascal@3056 | 21 |
pascal@3920 | 22 $src/slitaz/list_modules.sh drivers/net/wimax net/wimax | while read module; do |
pascal@3056 | 23 dir=$path/$(dirname $module) |
pascal@3056 | 24 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@3056 | 25 cp -a $_pkg/$path/$module $fs/$dir |
pascal@3056 | 26 done |
pascal@3056 | 27 } |
pascal@3056 | 28 |
pascal@3056 | 29 # Post install/remove commands for Tazpkg. |
pascal@3056 | 30 post_install() |
pascal@3056 | 31 { |
pascal@3056 | 32 chroot "$1/" depmod -a $VERSION-slitaz |
pascal@3056 | 33 } |
pascal@3056 | 34 |
pascal@3056 | 35 post_remove() |
pascal@3056 | 36 { |
pascal@3056 | 37 depmod -a $VERSION-slitaz |
pascal@3056 | 38 } |
pascal@3056 | 39 |