wok-4.x view dahdi-linux/receipt @ rev 4361

Up: libxml2* (2.7.5) + python-lxml
author Christophe Lincoln <pankso@slitaz.org>
date Tue Oct 06 11:19:06 2009 +0200 (2009-10-06)
parents
children 782e21486f94
line source
1 # SliTaz package receipt.
3 PACKAGE="dahdi-linux"
4 VERSION="2.2.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.asterisk.org/"
10 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
11 DEPENDS="linux"
12 #PROVIDE="linux-misdn"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 compile_rules()
16 {
17 cd $src
18 [ -d $WOK/linux/taz ] || tazwok cook linux
19 make KSRC=$WOK/linux/$(ls $WOK/linux/taz) &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/dev $fs
28 cp -a $_pkg/lib $fs
29 cp -a $_pkg/usr/share $fs/usr
30 }
32 # Post install/remove commands for Tazpkg.
33 post_install()
34 {
35 chroot "$1/" depmod -a
36 }
38 post_remove()
39 {
40 depmod -a
41 }