wok annotate linux-wireless/receipt @ rev 14898
slitaz-menus: add Polish and Ukrainian languages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 30 09:25:10 2013 +0300 (2013-07-30) |
parents | 416fab3c90c0 |
children | 051931e905b0 |
rev | line source |
---|---|
pascal@521 | 1 # SliTaz package receipt. |
pascal@521 | 2 |
pascal@521 | 3 PACKAGE="linux-wireless" |
pascal@14175 | 4 VERSION="3.2.40" |
pankso@12285 | 5 BASEVER="${VERSION:0:3}" |
pascal@521 | 6 CATEGORY="base-system" |
pascal@521 | 7 SHORT_DESC="The Linux kernel wireless modules." |
pankso@3864 | 8 MAINTAINER="devel@slitaz.org" |
pascal@14657 | 9 LICENSE="GPL2" |
pascal@521 | 10 WANTED="linux" |
pascal@521 | 11 WEB_SITE="http://www.kernel.org/" |
taziden@1904 | 12 DEPENDS="linux-crypto wireless_tools" |
erjo@1903 | 13 |
pascal@521 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@521 | 15 genpkg_rules() |
pascal@521 | 16 { |
pascal@521 | 17 local path |
pankso@12285 | 18 path=lib/modules/$BASEVER-slitaz/kernel |
pascal@521 | 19 mkdir -p $fs/$path |
erjo@1851 | 20 |
pascal@886 | 21 export src |
pascal@886 | 22 export _pkg |
erjo@1851 | 23 |
slaxemulator@9700 | 24 $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \ |
pankso@12285 | 25 drivers/staging/echo drivers/leds net/wireless net/mac80211 \ |
pascal@12638 | 26 drivers/staging/rtl8192e/r8192e_pci.ko.xz drivers/staging/rtl8712/r8712u.ko.xz \ |
pascal@12638 | 27 drivers/staging/rtl8187se/r8187se.ko.xz drivers/staging/rtl8192u/r8192u_usb.ko.xz \ |
pascal@12638 | 28 drivers/staging/crystalhd/crystalhd.ko.xz \ |
pascal@12638 | 29 drivers/staging/sm7xx/sm7xx.ko.xz | while read module; do |
pascal@521 | 30 dir=$path/$(dirname $module) |
pascal@521 | 31 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@521 | 32 cp -a $_pkg/$path/$module $fs/$dir |
pascal@886 | 33 done |
slaxemulator@7239 | 34 |
pankso@12285 | 35 for i in $(cat $wanted_stuff/modules.list); do |
pankso@12285 | 36 if [ -f $fs/$path/$i ]; then |
pankso@12285 | 37 rm -f $fs/$path/$i |
slaxemulator@7239 | 38 fi |
slaxemulator@7239 | 39 done |
pascal@521 | 40 } |
pascal@521 | 41 |
pascal@521 | 42 # Post install/remove commands for Tazpkg. |
pascal@521 | 43 post_install() |
pascal@521 | 44 { |
pankso@12285 | 45 chroot "$1/" depmod -a $BASEVER-slitaz |
pascal@521 | 46 } |
pascal@521 | 47 |
pascal@521 | 48 post_remove() |
pascal@521 | 49 { |
pankso@12285 | 50 chroot "$1/" depmod -a $BASEVER-slitaz |
pascal@521 | 51 } |
pascal@521 | 52 |