wok view dahdi-tools/receipt @ rev 23939
Add qemu-mipsel
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 12:54:45 2020 +0000 (2020-09-12) |
parents | 3fe2c569088e |
children | 05c8d8d9d934 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dahdi-tools"
4 VERSION="2.11.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 file"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --exec-prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS 2>&1 | grep -v conftest &&
26 make &&
27 make -C ppp &&
28 make DESTDIR=$DESTDIR install &&
29 make DESTDIR=$DESTDIR -C ppp install &&
30 make DESTDIR=$DESTDIR 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 $install/etc/dahdi $fs/etc
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/lib*.so* $fs/usr/lib
40 cp -a $install/usr/share/dahdi $fs/usr/share
41 }