wok annotate linux-usbdsl/receipt @ rev 2756

glibc: Remove duplicate glibc-extra-samba files in glibc-locale
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 26 21:06:51 2009 +0200 (2009-04-26)
parents
children f306d126580e
rev   line source
pascal@2166 1 # SliTaz package receipt.
pascal@2166 2
pascal@2166 3 PACKAGE="linux-usbdsl"
pascal@2166 4 VERSION="2.6.25.5"
pascal@2166 5 CATEGORY="base-system"
pascal@2166 6 SHORT_DESC="The Linux kernel usb dsl modem modules."
pascal@2166 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2166 8 WANTED="linux"
pascal@2166 9 WEB_SITE="http://www.kernel.org/"
pascal@2166 10
pascal@2166 11
pascal@2166 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2166 13 genpkg_rules()
pascal@2166 14 {
pascal@2166 15 local path
pascal@2166 16 path=lib/modules/$VERSION-slitaz/kernel
pascal@2166 17 mkdir -p $fs/$path
pascal@2166 18
pascal@2166 19 export src
pascal@2166 20 export _pkg
pascal@2166 21
pascal@2166 22 $src/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@2166 26 cp -a $_pkg/$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 {
pascal@2166 33 depmod -a -b "$1/" $VERSION-slitaz
pascal@2166 34 }
pascal@2166 35
pascal@2166 36 post_remove()
pascal@2166 37 {
pascal@2166 38 depmod -a $VERSION-slitaz
pascal@2166 39 }
pascal@2166 40