wok annotate dahdi-tools/receipt @ rev 10250

Up: phpmyadmin to 3.4.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 02:40:09 2011 +0000 (2011-05-21)
parents 9994f83b20f6
children 35e1381d79b6
rev   line source
pascal@4102 1 # SliTaz package receipt.
pascal@4102 2
pascal@4102 3 PACKAGE="dahdi-tools"
pascal@7389 4 VERSION="2.4.0"
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@4102 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4102 9 WEB_SITE="http://www.asterisk.org/"
pascal@4102 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
pankso@9963 11 CONFIG_FILES="/etc/dahdi/"
pankso@9963 12
gokhlayeh@9395 13 DEPENDS="libusb-compat newt libpri"
pankso@9963 14 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev"
pascal@4102 15
pascal@4102 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4102 17 compile_rules()
pascal@4102 18 {
pascal@4102 19 cd $src
pascal@4102 20 ./configure \
pascal@4102 21 --prefix=/usr \
pascal@4102 22 --sysconfdir=/etc \
pascal@4102 23 --exec-prefix=/usr \
pascal@4102 24 --mandir=/usr/share/man \
pascal@4102 25 $CONFIGURE_ARGS &&
pascal@9398 26 make -j1 &&
pascal@9398 27 make -j1 -C ppp &&
pascal@9398 28 make -j1 DESTDIR=$PWD/_pkg install &&
pascal@9398 29 make -j1 DESTDIR=$PWD/_pkg -C ppp install &&
pascal@9398 30 make -j1 DESTDIR=$PWD/_pkg config
pascal@4102 31 }
pascal@4102 32
pascal@4102 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4102 34 genpkg_rules()
pascal@4102 35 {
pascal@4102 36 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
pascal@4102 37 cp -a $_pkg/etc/dahdi $fs/etc
pascal@4102 38 cp -a $_pkg/usr/sbin $fs/usr
pascal@4102 39 cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib
pascal@4102 40 cp -a $_pkg/usr/share/dahdi $fs/usr/share
pascal@4102 41 }