wok-current annotate linux-sound/receipt @ rev 750
slitaz-hacker-wiki: add wikiss icon
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 06 15:00:52 2008 +0200 (2008-05-06) |
parents | cd99ec381938 |
children | 04b68c6ffdfa |
rev | line source |
---|---|
pascal@521 | 1 # SliTaz package receipt. |
pascal@521 | 2 |
pascal@521 | 3 PACKAGE="linux-sound" |
pascal@521 | 4 VERSION="2.6.24.2" |
pascal@521 | 5 CATEGORY="base-system" |
pascal@521 | 6 SHORT_DESC="The Linux kernel sound modules." |
pascal@521 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@521 | 8 WANTED="linux" |
pascal@521 | 9 WEB_SITE="http://www.kernel.org/" |
pascal@521 | 10 |
pascal@521 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@521 | 12 genpkg_rules() |
pascal@521 | 13 { |
pascal@521 | 14 local path |
pascal@521 | 15 path=lib/modules/$VERSION-slitaz/kernel |
pascal@521 | 16 mkdir -p $fs/$path |
pascal@521 | 17 ( cd $_pkg/$path ; tar cf - sound ) | ( cd $fs/$path ; tar xf - ) |
pascal@521 | 18 |
pascal@521 | 19 } |
pascal@521 | 20 |
pascal@521 | 21 # Post install/remove commands for Tazpkg. |
pascal@521 | 22 post_install() |
pascal@521 | 23 { |
pascal@532 | 24 depmod -a -b /$1 |
pascal@521 | 25 } |
pascal@521 | 26 |
pascal@521 | 27 post_remove() |
pascal@521 | 28 { |
pascal@521 | 29 depmod -a |
pascal@521 | 30 } |
pascal@521 | 31 |