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

valgrind: Fix build with glibc 2.11
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 22 08:02:40 2010 +0200 (2010-07-22)
parents
children 83a9a0b3d080
rev   line source
pascal@4120 1 # SliTaz package receipt.
pascal@4120 2
pascal@4120 3 PACKAGE="asterisk-addons"
pascal@4120 4 VERSION="1.6.1.1"
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@4120 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/asterisk/$TARBALL"
pascal@4120 11 DEPENDS="libmysqlclient zlib glibc-base"
pascal@4120 12 BUILD_DEPENDS="asterisk-dev ncurses-dev libmysqlclient mysql-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@4120 23 make DESTDIR=$PWD/_pkg 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 }