wok-stable diff dahdi-tools/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents
children 6e563e30a870
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dahdi-tools/receipt	Sun Mar 28 17:16:33 2010 +0200
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dahdi-tools"
     1.7 +VERSION="2.2.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
    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="libusb newt libpri"
    1.15 +BUILD_DEPENDS="dahdi-linux-dev ppp-dev libusb-dev newt-dev libpri-dev"
    1.16 +CONFIG_FILES="/etc/dahdi/"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--sysconfdir=/etc \
    1.25 +		--exec-prefix=/usr \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make -C ppp &&
    1.30 +	make DESTDIR=$PWD/_pkg install &&
    1.31 +	make DESTDIR=$PWD/_pkg -C ppp install &&
    1.32 +	make DESTDIR=$PWD/_pkg config
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    1.39 +	cp -a $_pkg/etc/dahdi $fs/etc
    1.40 +	cp -a $_pkg/usr/sbin $fs/usr
    1.41 +	cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib
    1.42 +	cp -a $_pkg/usr/share/dahdi $fs/usr/share
    1.43 +}