wok-6.x annotate dahdi-tools/receipt @ rev 21612
ffmpegthumbnailer: use cmake
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 17:32:52 2019 +0200 (2019-05-23) |
parents | 3fe2c569088e |
children | 05c8d8d9d934 |
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@4102 | 10 WEB_SITE="http://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@4102 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4102 | 18 compile_rules() |
pascal@4102 | 19 { |
pascal@4102 | 20 ./configure \ |
pascal@4102 | 21 --prefix=/usr \ |
pascal@4102 | 22 --sysconfdir=/etc \ |
pascal@4102 | 23 --exec-prefix=/usr \ |
pascal@4102 | 24 --mandir=/usr/share/man \ |
pascal@15065 | 25 $CONFIGURE_ARGS 2>&1 | grep -v conftest && |
pascal@20132 | 26 make && |
pascal@20132 | 27 make -C ppp && |
pascal@20132 | 28 make DESTDIR=$DESTDIR install && |
pascal@20132 | 29 make DESTDIR=$DESTDIR -C ppp install && |
pascal@20132 | 30 make DESTDIR=$DESTDIR config |
pascal@4102 | 31 } |
pascal@4102 | 32 |
pascal@4102 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4102 | 34 genpkg_rules() |
pascal@4102 | 35 { |
pascal@4102 | 36 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share |
pascal@13872 | 37 cp -a $install/etc/dahdi $fs/etc |
pascal@13872 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@13872 | 39 cp -a $install/usr/lib/lib*.so* $fs/usr/lib |
pascal@13872 | 40 cp -a $install/usr/share/dahdi $fs/usr/share |
pascal@4102 | 41 } |