wok-next view linux-sound/receipt @ rev 717

slitaz-tools and slitaz-configs receipts typo and add deps
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 21:09:43 2008 +0200 (2008-05-02)
parents cd99ec381938
children 04b68c6ffdfa
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-sound"
4 VERSION="2.6.24.2"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel sound modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WANTED="linux"
9 WEB_SITE="http://www.kernel.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 local path
15 path=lib/modules/$VERSION-slitaz/kernel
16 mkdir -p $fs/$path
17 ( cd $_pkg/$path ; tar cf - sound ) | ( cd $fs/$path ; tar xf - )
19 }
21 # Post install/remove commands for Tazpkg.
22 post_install()
23 {
24 depmod -a -b /$1
25 }
27 post_remove()
28 {
29 depmod -a
30 }