wok annotate dahdi-tools/receipt @ rev 9505
Up slitaz-configs (4.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 04:42:39 2011 +0200 (2011-04-06) |
parents | aa6aabdbbe2f |
children | 24263dfa9f84 |
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" |
gokhlayeh@9395 | 11 DEPENDS="libusb-compat newt libpri" |
pascal@9397 | 12 BUILD_DEPENDS="dahdi-linux ppp gtk+-dev" |
pascal@4102 | 13 CONFIG_FILES="/etc/dahdi/" |
pascal@4102 | 14 |
pascal@4102 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4102 | 16 compile_rules() |
pascal@4102 | 17 { |
pascal@4102 | 18 cd $src |
pascal@4102 | 19 ./configure \ |
pascal@4102 | 20 --prefix=/usr \ |
pascal@4102 | 21 --sysconfdir=/etc \ |
pascal@4102 | 22 --exec-prefix=/usr \ |
pascal@4102 | 23 --mandir=/usr/share/man \ |
pascal@4102 | 24 $CONFIGURE_ARGS && |
pascal@9398 | 25 make -j1 && |
pascal@9398 | 26 make -j1 -C ppp && |
pascal@9398 | 27 make -j1 DESTDIR=$PWD/_pkg install && |
pascal@9398 | 28 make -j1 DESTDIR=$PWD/_pkg -C ppp install && |
pascal@9398 | 29 make -j1 DESTDIR=$PWD/_pkg config |
pascal@4102 | 30 } |
pascal@4102 | 31 |
pascal@4102 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4102 | 33 genpkg_rules() |
pascal@4102 | 34 { |
pascal@4102 | 35 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share |
pascal@4102 | 36 cp -a $_pkg/etc/dahdi $fs/etc |
pascal@4102 | 37 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4102 | 38 cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib |
pascal@4102 | 39 cp -a $_pkg/usr/share/dahdi $fs/usr/share |
pascal@4102 | 40 } |