wok diff asterisk-addons/receipt @ rev 4977

add/improve TAGS y* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 12:40:28 2010 +0000 (2010-02-24)
parents
children 83a9a0b3d080
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk-addons/receipt	Wed Feb 24 12:40:28 2010 +0000
     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 +}