wok-4.x view dahdi-tools/receipt @ rev 6879
Added linux-module-headers to kqemu build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 23:03:53 2010 +0000 (2010-10-20) |
parents | f198af80a1ab |
children | d90600d8dff7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dahdi-tools"
4 VERSION="2.3.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 DEPENDS="libusb newt libpri"
12 BUILD_DEPENDS="dahdi-linux-dev ppp-dev libusb-dev newt-dev libpri-dev"
13 CONFIG_FILES="/etc/dahdi/"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --exec-prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make -C ppp &&
27 make DESTDIR=$PWD/_pkg install &&
28 make DESTDIR=$PWD/_pkg -C ppp install &&
29 make DESTDIR=$PWD/_pkg config
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/etc/dahdi $fs/etc
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib
39 cp -a $_pkg/usr/share/dahdi $fs/usr/share
40 }