wok-4.x view asterisk-addons/receipt @ rev 5782

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:19:46 2010 +0200 (2010-07-10)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="asterisk-addons"
4 VERSION="1.6.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Open Source PBX and telephony toolkit addons."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.asterisk.org/"
10 WGET_URL="http://downloads.asterisk.org/pub/telephony/asterisk/$TARBALL"
11 DEPENDS="libmysqlclient zlib glibc-base"
12 BUILD_DEPENDS="asterisk-dev ncurses-dev libmysqlclient mysql-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 $CONFIGURE_ARGS
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 }