wok-next annotate dahdi-tools/receipt @ rev 14506
grub2: add /usr/share
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue May 14 00:30:55 2013 +0000 (2013-05-14) |
parents | 24263dfa9f84 |
children | fc6d2161ae1b |
rev | line source |
---|---|
pascal@4102 | 1 # SliTaz package receipt. |
pascal@4102 | 2 |
pascal@4102 | 3 PACKAGE="dahdi-tools" |
pascal@13872 | 4 VERSION="2.6.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@4102 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4102 | 9 WEB_SITE="http://www.asterisk.org/" |
pascal@4102 | 10 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL" |
pankso@9963 | 11 CONFIG_FILES="/etc/dahdi/" |
pankso@9963 | 12 |
pascal@13872 | 13 DEPENDS="libusb-compat newt libpri dahdi-perl" |
pankso@9963 | 14 BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev" |
pascal@4102 | 15 |
pascal@4102 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4102 | 17 compile_rules() |
pascal@4102 | 18 { |
pascal@4102 | 19 cd $src |
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@4102 | 25 $CONFIGURE_ARGS && |
pascal@9398 | 26 make -j1 && |
pascal@9398 | 27 make -j1 -C ppp && |
pascal@13872 | 28 make -j1 DESTDIR=$DESTDIR install && |
pascal@13872 | 29 make -j1 DESTDIR=$DESTDIR -C ppp install && |
pascal@13872 | 30 make -j1 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 } |