wok-current view dahdi-tools/receipt @ rev 12808

Up: vala (0.16.0)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 19 15:18:38 2012 +0200 (2012-05-19)
parents 9994f83b20f6
children 35e1381d79b6
line source
1 # SliTaz package receipt.
3 PACKAGE="dahdi-tools"
4 VERSION="2.4.0"
5 CATEGORY="network"
6 SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
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/$PACKAGE/releases/$TARBALL"
11 CONFIG_FILES="/etc/dahdi/"
13 DEPENDS="libusb-compat newt libpri"
14 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --exec-prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j1 &&
27 make -j1 -C ppp &&
28 make -j1 DESTDIR=$PWD/_pkg install &&
29 make -j1 DESTDIR=$PWD/_pkg -C ppp install &&
30 make -j1 DESTDIR=$PWD/_pkg config
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
37 cp -a $_pkg/etc/dahdi $fs/etc
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib
40 cp -a $_pkg/usr/share/dahdi $fs/usr/share
41 }