wok-current annotate asterisk-addons/receipt @ rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents 83a9a0b3d080
children f4c22f009037
rev   line source
pascal@4120 1 # SliTaz package receipt.
pascal@4120 2
pascal@4120 3 PACKAGE="asterisk-addons"
pascal@12599 4 VERSION="1.6.2.4"
pascal@4120 5 CATEGORY="misc"
pascal@4120 6 SHORT_DESC="Open Source PBX and telephony toolkit addons."
pascal@4120 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@4120 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4120 9 WEB_SITE="http://www.asterisk.org/"
pascal@12599 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/$TARBALL"
pascal@4120 11 DEPENDS="libmysqlclient zlib glibc-base"
pascal@12600 12 BUILD_DEPENDS="asterisk-dev ncurses-dev libmysqlclient mysql-dev gtk+-dev"
pascal@4120 13
pascal@4120 14 # Rules to configure and make the package.
pascal@4120 15 compile_rules()
pascal@4120 16 {
pascal@4120 17 cd $src
pascal@4120 18 ./configure \
pascal@4120 19 --prefix=/usr \
pascal@4120 20 --sysconfdir=/etc \
pascal@4120 21 $CONFIGURE_ARGS
pascal@4120 22 make &&
pascal@12599 23 make DESTDIR=$DESTDIR install
pascal@4120 24 }
pascal@4120 25
pascal@4120 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4120 27 genpkg_rules()
pascal@4120 28 {
pascal@4120 29 cp -a $_pkg/usr $fs
pascal@4120 30 }