wok-next view dahdi-tools/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 835b3b8ce6ac |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dahdi-tools"
4 VERSION="2.11.1"
5 CATEGORY="network"
6 SHORT_DESC="Digium Asterisk Hardware Device Interface"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.asterisk.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
14 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev gtk2-dev file"
15 SPLIT="dahdi-man dahdi-perl dahdi-ppp dahdi-dev dahdi-tools"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make -C ppp &&
22 make DESTDIR=$DESTDIR install &&
23 make DESTDIR=$DESTDIR -C ppp install &&
24 make DESTDIR=$DESTDIR config
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 dahdi-man)
30 copy man/
31 CAT="network|man pages"
32 ;;
33 dahdi-perl)
34 copy *.pm
35 CAT="development|PERL modules"
36 DEPENDS="perl"
37 PROVIDE="zaptel-perl"
38 ;;
39 dahdi-ppp)
40 copy dahdi.so
41 CAT="network|PPP plugin"
42 DEPENDS="ppp"
43 ;;
44 dahdi-dev)
45 copy @dev
46 DEPENDS="dahdi-linux-dev"
47 PROVIDE="zaptel-dev"
48 ;;
49 dahdi-tools)
50 copy @std @rm
51 CAT="network|userland tools"
52 DEPENDS="libusb-compat newt libpri dahdi-perl"
53 CONFIG_FILES="/etc/dahdi/"
54 ;;
55 esac
56 }