wok diff dahdi-linux/receipt @ rev 4588
Add linmodem-intel536ep
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Dec 10 13:28:03 2009 +0000 (2009-12-10) |
parents | |
children | 782e21486f94 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dahdi-linux/receipt Thu Dec 10 13:28:03 2009 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dahdi-linux" 1.7 +VERSION="2.2.0.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.asterisk.org/" 1.13 +WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL" 1.14 +DEPENDS="linux" 1.15 +#PROVIDE="linux-misdn" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + [ -d $WOK/linux/taz ] || tazwok cook linux 1.22 + make KSRC=$WOK/linux/$(ls $WOK/linux/taz) && 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr 1.30 + cp -a $_pkg/dev $fs 1.31 + cp -a $_pkg/lib $fs 1.32 + cp -a $_pkg/usr/share $fs/usr 1.33 +} 1.34 + 1.35 +# Post install/remove commands for Tazpkg. 1.36 +post_install() 1.37 +{ 1.38 + chroot "$1/" depmod -a 1.39 +} 1.40 + 1.41 +post_remove() 1.42 +{ 1.43 + depmod -a 1.44 +}