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