wok-current annotate linux-wireless/receipt @ rev 1851

Add: ndiswrapper-driver, end of split.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 14 10:55:03 2008 +0100 (2008-12-14)
parents bacd5baa9f15
children 9bd092dc96da
rev   line source
pascal@521 1 # SliTaz package receipt.
pascal@521 2
pascal@521 3 PACKAGE="linux-wireless"
pascal@886 4 VERSION="2.6.25.5"
pascal@521 5 CATEGORY="base-system"
pascal@521 6 SHORT_DESC="The Linux kernel wireless modules."
pascal@521 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@521 8 WANTED="linux"
pascal@521 9 WEB_SITE="http://www.kernel.org/"
pascal@928 10 DEPENDS="linux-crypto"
pascal@521 11
pascal@521 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@521 13 genpkg_rules()
pascal@521 14 {
pascal@521 15 local path
pascal@521 16 path=lib/modules/$VERSION-slitaz/kernel
pascal@521 17 mkdir -p $fs/$path
erjo@1851 18
pascal@886 19 export src
pascal@886 20 export _pkg
erjo@1851 21
erjo@1851 22 echo "DEBUG"
erjo@1851 23 echo "path:$path"
erjo@1851 24 echo "src:$src"
erjo@1851 25 echo "_pkg:$_pkg"
erjo@1851 26 echo "DEBUG"
erjo@1851 27
erjo@1851 28 $src/list_modules.sh drivers/net/wireless net/wireless net/ieee80211
erjo@1851 29
erjo@1851 30 exit
pascal@928 31 $src/list_modules.sh drivers/net/wireless net/wireless net/ieee80211 | \
pascal@928 32 while read module; do
pascal@521 33 dir=$path/$(dirname $module)
pascal@521 34 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@521 35 cp -a $_pkg/$path/$module $fs/$dir
erjo@1851 36 echo "$_pkg/$path/$module $fs/$dir"
pascal@886 37 done
pascal@521 38 }
pascal@521 39
pascal@521 40 # Post install/remove commands for Tazpkg.
pascal@521 41 post_install()
pascal@521 42 {
pascal@886 43 depmod -a -b "$1/" $VERSION-slitaz
pascal@521 44 }
pascal@521 45
pascal@521 46 post_remove()
pascal@521 47 {
pascal@886 48 depmod -a $VERSION-slitaz
pascal@521 49 }
pascal@521 50