wok-next view dahdi-tools/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
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 $PACKAGE"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make -C ppp &&
22 make DESTDIR=$install install &&
23 make DESTDIR=$install -C ppp install &&
24 make DESTDIR=$install 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 }