wok-6.x rev 4120

Add asterisk-addons
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 01:16:22 2009 +0200 (2009-09-20)
parents 822a67bd7150
children 1c6fa8e91b97
files asterisk-addons/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk-addons/receipt	Sun Sep 20 01:16:22 2009 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="asterisk-addons"
     1.7 +VERSION="1.6.1.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Open Source PBX and telephony toolkit addons."
    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/asterisk/$TARBALL"
    1.14 +DEPENDS="libmysqlclient zlib glibc-base"
    1.15 +BUILD_DEPENDS="asterisk-dev ncurses-dev libmysqlclient mysql-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		$CONFIGURE_ARGS
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $_pkg/usr $fs
    1.33 +}