wok-6.x annotate dahdi-tools/receipt @ rev 17448

Add Qcad 2D CAD application
author Christophe Lincoln <pankso@slitaz.org>
date Sun Dec 14 10:13:18 2014 +0100 (2014-12-14)
parents fc6d2161ae1b
children 29d39c79090b
rev   line source
pascal@4102 1 # SliTaz package receipt.
pascal@4102 2
pascal@4102 3 PACKAGE="dahdi-tools"
pascal@13872 4 VERSION="2.6.1"
pascal@4102 5 CATEGORY="network"
pascal@4102 6 SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
pascal@4102 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15060 8 LICENSE="GPL2"
pascal@4102 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4102 10 WEB_SITE="http://www.asterisk.org/"
pascal@4102 11 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
pankso@9963 12 CONFIG_FILES="/etc/dahdi/"
pankso@9963 13
pascal@13872 14 DEPENDS="libusb-compat newt libpri dahdi-perl"
pascal@15060 15 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev gtk+-dev"
pascal@4102 16
pascal@4102 17 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4102 18 compile_rules()
pascal@4102 19 {
pascal@4102 20 cd $src
pascal@15060 21 touch -d 197001010000 xpp/.depend
pascal@4102 22 ./configure \
pascal@4102 23 --prefix=/usr \
pascal@4102 24 --sysconfdir=/etc \
pascal@4102 25 --exec-prefix=/usr \
pascal@4102 26 --mandir=/usr/share/man \
pascal@15065 27 $CONFIGURE_ARGS 2>&1 | grep -v conftest &&
pascal@9398 28 make -j1 &&
pascal@9398 29 make -j1 -C ppp &&
pascal@13872 30 make -j1 DESTDIR=$DESTDIR install &&
pascal@13872 31 make -j1 DESTDIR=$DESTDIR -C ppp install &&
pascal@13872 32 make -j1 DESTDIR=$DESTDIR config
pascal@4102 33 }
pascal@4102 34
pascal@4102 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4102 36 genpkg_rules()
pascal@4102 37 {
pascal@4102 38 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
pascal@13872 39 cp -a $install/etc/dahdi $fs/etc
pascal@13872 40 cp -a $install/usr/sbin $fs/usr
pascal@13872 41 cp -a $install/usr/lib/lib*.so* $fs/usr/lib
pascal@13872 42 cp -a $install/usr/share/dahdi $fs/usr/share
pascal@4102 43 }