wok-stable rev 4102

Add dahdi: Digium Asterisk Hardware Device Interface (was zaptel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 19 17:14:58 2009 +0200 (2009-09-19)
parents af84ae796bba
children aefaacb8a0e6
files dahdi-dev/receipt dahdi-linux-dev/receipt dahdi-linux/receipt dahdi-man/receipt dahdi-perl/receipt dahdi-ppp/receipt dahdi-tools/receipt dahdi/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dahdi-dev/receipt	Sat Sep 19 17:14:58 2009 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dahdi-dev"
     1.7 +VERSION="2.2.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.asterisk.org/"
    1.13 +DEPENDS="dahdi-linux-dev"
    1.14 +WANTED="dahdi-tools"
    1.15 +PROVIDE="zaptel-dev"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/lib*.a $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dahdi-linux-dev/receipt	Sat Sep 19 17:14:58 2009 +0200
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="dahdi-linux-dev"
     2.7 +VERSION="2.2.0.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules dev files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://www.asterisk.org/"
    2.13 +WANTED="dahdi-linux"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr
    2.19 +	cp -a $_pkg/usr/include $fs/usr
    2.20 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dahdi-linux/receipt	Sat Sep 19 17:14:58 2009 +0200
     3.3 @@ -0,0 +1,41 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="dahdi-linux"
     3.7 +VERSION="2.2.0.2"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://www.asterisk.org/"
    3.13 +WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
    3.14 +DEPENDS="linux"
    3.15 +#PROVIDE="linux-misdn"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +compile_rules()
    3.19 +{
    3.20 +	cd $src
    3.21 +	[ -d $WOK/linux/taz ] || tazwok cook linux
    3.22 +	make KSRC=$WOK/linux/$(ls $WOK/linux/taz) &&
    3.23 +	make DESTDIR=$PWD/_pkg install
    3.24 +}
    3.25 +
    3.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 +genpkg_rules()
    3.28 +{
    3.29 +	mkdir -p $fs/usr
    3.30 +	cp -a $_pkg/dev $fs
    3.31 +	cp -a $_pkg/lib $fs
    3.32 +	cp -a $_pkg/usr/share $fs/usr
    3.33 +}
    3.34 +
    3.35 +# Post install/remove commands for Tazpkg.
    3.36 +post_install()
    3.37 +{
    3.38 +	chroot "$1/" depmod -a
    3.39 +}
    3.40 +
    3.41 +post_remove()
    3.42 +{
    3.43 +	depmod -a
    3.44 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/dahdi-man/receipt	Sat Sep 19 17:14:58 2009 +0200
     4.3 @@ -0,0 +1,17 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="dahdi-man"
     4.7 +VERSION="2.2.0"
     4.8 +CATEGORY="network"
     4.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface man pages."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.12 +WEB_SITE="http://www.asterisk.org/"
    4.13 +WANTED="dahdi-tools"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +	mkdir -p $fs/usr/share
    4.19 +	cp -a $_pkg/usr/share/man $fs/usr/share
    4.20 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/dahdi-perl/receipt	Sat Sep 19 17:14:58 2009 +0200
     5.3 @@ -0,0 +1,19 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="dahdi-perl"
     5.7 +VERSION="2.2.0"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface PERL modules."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.12 +WEB_SITE="http://www.asterisk.org/"
    5.13 +DEPENDS="perl"
    5.14 +WANTED="dahdi-tools"
    5.15 +PROVIDE="zaptel-perl"
    5.16 +
    5.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 +genpkg_rules()
    5.19 +{
    5.20 +	mkdir -p $fs/usr/lib
    5.21 +	cp -a $_pkg/usr/lib/perl* $fs/usr/lib
    5.22 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/dahdi-ppp/receipt	Sat Sep 19 17:14:58 2009 +0200
     6.3 @@ -0,0 +1,18 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="dahdi-ppp"
     6.7 +VERSION="2.2.0"
     6.8 +CATEGORY="network"
     6.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface PPP plugin."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.12 +WEB_SITE="http://www.asterisk.org/"
    6.13 +DEPENDS="ppp"
    6.14 +WANTED="dahdi-tools"
    6.15 +
    6.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.17 +genpkg_rules()
    6.18 +{
    6.19 +	mkdir -p $fs/usr/lib
    6.20 +	cp -a $_pkg/usr/lib/pppd $fs/usr/lib
    6.21 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/dahdi-tools/receipt	Sat Sep 19 17:14:58 2009 +0200
     7.3 @@ -0,0 +1,40 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="dahdi-tools"
     7.7 +VERSION="2.2.0"
     7.8 +CATEGORY="network"
     7.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
    7.10 +MAINTAINER="pascal.bellard@slitaz.org"
    7.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.12 +WEB_SITE="http://www.asterisk.org/"
    7.13 +WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
    7.14 +DEPENDS="libusb newt libpri"
    7.15 +BUILD_DEPENDS="dahdi-linux-dev ppp-dev libusb-dev newt-dev libpri-dev"
    7.16 +CONFIG_FILES="/etc/dahdi/"
    7.17 +
    7.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.19 +compile_rules()
    7.20 +{
    7.21 +	cd $src
    7.22 +	./configure \
    7.23 +		--prefix=/usr \
    7.24 +		--sysconfdir=/etc \
    7.25 +		--exec-prefix=/usr \
    7.26 +		--mandir=/usr/share/man \
    7.27 +		$CONFIGURE_ARGS &&
    7.28 +	make &&
    7.29 +	make -C ppp &&
    7.30 +	make DESTDIR=$PWD/_pkg install &&
    7.31 +	make DESTDIR=$PWD/_pkg -C ppp install &&
    7.32 +	make DESTDIR=$PWD/_pkg config
    7.33 +}
    7.34 +
    7.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.36 +genpkg_rules()
    7.37 +{
    7.38 +	mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    7.39 +	cp -a $_pkg/etc/dahdi $fs/etc
    7.40 +	cp -a $_pkg/usr/sbin $fs/usr
    7.41 +	cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib
    7.42 +	cp -a $_pkg/usr/share/dahdi $fs/usr/share
    7.43 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/dahdi/receipt	Sat Sep 19 17:14:58 2009 +0200
     8.3 @@ -0,0 +1,17 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="dahdi"
     8.7 +VERSION="1.0"
     8.8 +CATEGORY="meta"
     8.9 +SHORT_DESC="Digium Asterisk Hardware Device Interface."
    8.10 +MAINTAINER="pascal.bellard@slitaz.org"
    8.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.12 +WEB_SITE="http://www.asterisk.org/"
    8.13 +DEPENDS="dahdi-linux dahdi-tools"
    8.14 +PROVIDE="zaptel"
    8.15 +
    8.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.17 +genpkg_rules()
    8.18 +{
    8.19 +	true
    8.20 +}