wok-6.x annotate dahdi-linux-dev/receipt @ rev 4109
dahdi-linux-dev: add EXTRAVERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 19 21:04:29 2009 +0200 (2009-09-19) |
parents | f198af80a1ab |
children | 6e563e30a870 |
rev | line source |
---|---|
pascal@4102 | 1 # SliTaz package receipt. |
pascal@4102 | 2 |
pascal@4102 | 3 PACKAGE="dahdi-linux-dev" |
pascal@4102 | 4 VERSION="2.2.0.2" |
pascal@4102 | 5 CATEGORY="development" |
pascal@4102 | 6 SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules dev files." |
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 WANTED="dahdi-linux" |
pascal@4102 | 11 |
pascal@4102 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4102 | 13 genpkg_rules() |
pascal@4102 | 14 { |
pascal@4109 | 15 EXTRAVERSION="$(ls $_pkg/lib/modules | sed 's|\(.*\)-slitaz|_\1|')" |
pascal@4102 | 16 mkdir -p $fs/usr |
pascal@4102 | 17 cp -a $_pkg/usr/include $fs/usr |
pascal@4102 | 18 } |