wok-current annotate linux-usbdsl/receipt @ rev 17949

pciids: up (20150414).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 16 02:29:06 2015 +0300 (2015-04-16)
parents eb689de65d7e
children 08cf996a2307
rev   line source
pascal@2166 1 # SliTaz package receipt.
pascal@2166 2
pascal@2166 3 PACKAGE="linux-usbdsl"
pascal@15670 4 VERSION="3.2.53"
pascal@2166 5 CATEGORY="base-system"
pascal@2166 6 SHORT_DESC="The Linux kernel usb dsl modem modules."
pankso@3864 7 MAINTAINER="devel@slitaz.org"
pascal@14657 8 LICENSE="GPL2"
pascal@2926 9 DEPENDS="linux"
pascal@2166 10 WANTED="linux"
pascal@2166 11 WEB_SITE="http://www.kernel.org/"
pascal@2166 12
pascal@2166 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2166 14 genpkg_rules()
pascal@2166 15 {
pascal@2166 16 local path
pankso@15855 17 path=lib/modules/$VERSION-slitaz/kernel
pascal@2166 18 mkdir -p $fs/$path
pascal@2166 19
pankso@15855 20 export src install
pascal@2166 21
slaxemulator@9700 22 $wanted_stuff/list_modules.sh drivers/usb/atm net/atm | \
pascal@2166 23 while read module; do
pascal@2166 24 dir=$path/$(dirname $module)
pascal@2166 25 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@15603 26 cp -a $install/$path/$module $fs/$dir
pascal@2166 27 done
pascal@2166 28 }
pascal@2166 29
pascal@2166 30 # Post install/remove commands for Tazpkg.
pascal@2166 31 post_install()
pascal@2166 32 {
pankso@15855 33 chroot "$root/" depmod -a $VERSION-slitaz
pascal@2166 34 }
pascal@2166 35
pascal@2166 36 post_remove()
pascal@2166 37 {
pankso@15855 38 chroot "$root/" depmod -a $VERSION-slitaz
pascal@2166 39 }
pascal@2166 40