wok-next view dahdi-tools/receipt @ rev 20017
Add speexdsp, up speex, pulseaudio & pavucontrol.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 22 03:28:23 2017 +0300 (2017-10-22) |
parents | fc6d2161ae1b |
children | f0b1ca77b714 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dahdi-tools"
4 VERSION="2.6.1"
5 CATEGORY="network"
6 SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.asterisk.org/"
11 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
12 CONFIG_FILES="/etc/dahdi/"
14 DEPENDS="libusb-compat newt libpri dahdi-perl"
15 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev gtk+-dev"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 compile_rules()
19 {
20 cd $src
21 touch -d 197001010000 xpp/.depend
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --exec-prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS 2>&1 | grep -v conftest &&
28 make -j1 &&
29 make -j1 -C ppp &&
30 make -j1 DESTDIR=$DESTDIR install &&
31 make -j1 DESTDIR=$DESTDIR -C ppp install &&
32 make -j1 DESTDIR=$DESTDIR config
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
39 cp -a $install/etc/dahdi $fs/etc
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/lib*.so* $fs/usr/lib
42 cp -a $install/usr/share/dahdi $fs/usr/share
43 }