wok-6.x annotate dahdi-tools/receipt @ rev 25253

updated pyvim (2.0.24 -> 3.0.2)
author Hans-G?nter Theisgen
date Thu Jul 14 07:49:44 2022 +0100 (2022-07-14)
parents 05c8d8d9d934
children
rev   line source
pascal@4102 1 # SliTaz package receipt.
pascal@4102 2
pascal@4102 3 PACKAGE="dahdi-tools"
pascal@20132 4 VERSION="2.11.1"
pascal@4102 5 CATEGORY="network"
pascal@4102 6 SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
pascal@4102 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15060 8 LICENSE="GPL2"
pascal@4102 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23974 10 WEB_SITE="https://www.asterisk.org/"
pascal@4102 11 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
pankso@9963 12 CONFIG_FILES="/etc/dahdi/"
pankso@9963 13
pascal@13872 14 DEPENDS="libusb-compat newt libpri dahdi-perl"
pascal@20132 15 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev gtk+-dev file"
pascal@4102 16
pascal@24425 17 # What is the latest version available today?
pascal@24425 18 current_version()
pascal@24425 19 {
pascal@24425 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 21 sed "/$PACKAGE-/!d;/tar/!d;/-rc/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 22 }
pascal@24425 23
pascal@4102 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4102 25 compile_rules()
pascal@4102 26 {
pascal@4102 27 ./configure \
pascal@4102 28 --prefix=/usr \
pascal@4102 29 --sysconfdir=/etc \
pascal@4102 30 --exec-prefix=/usr \
pascal@4102 31 --mandir=/usr/share/man \
pascal@15065 32 $CONFIGURE_ARGS 2>&1 | grep -v conftest &&
pascal@20132 33 make &&
pascal@20132 34 make -C ppp &&
pascal@20132 35 make DESTDIR=$DESTDIR install &&
pascal@20132 36 make DESTDIR=$DESTDIR -C ppp install &&
pascal@20132 37 make DESTDIR=$DESTDIR config
pascal@4102 38 }
pascal@4102 39
pascal@4102 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4102 41 genpkg_rules()
pascal@4102 42 {
pascal@4102 43 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
pascal@13872 44 cp -a $install/etc/dahdi $fs/etc
pascal@13872 45 cp -a $install/usr/sbin $fs/usr
pascal@13872 46 cp -a $install/usr/lib/lib*.so* $fs/usr/lib
pascal@13872 47 cp -a $install/usr/share/dahdi $fs/usr/share
pascal@4102 48 }