wok-next view zaptel-perl/receipt @ rev 1385
Split libiconv package. Up. Pidgin to 2.5.1
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Sep 16 01:06:26 2008 +0200 (2008-09-16) |
parents | d659eda8a095 |
children | 03a799424aaa |
line source
1 # SliTaz package receipt.
3 PACKAGE="zaptel-perl"
4 VERSION="bristuff"
5 CATEGORY="system"
6 SHORT_DESC="Zapata Telephony Interface Driver, PERL modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.digium.com/"
9 DEPENDS="zaptel"
10 WANTED="bristuff"
12 # Extract VERSION from WANTED package source
13 get_version()
14 {
15 eval $(grep ^ZAP_VER= $WOK/$WANTED/$WANTED-*/download.sh)
16 VERSION=$WANTED-$ZAP_VER
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 get_version
23 [ -d taz/$PACKAGE-$WANTED/fs ] && \
24 mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION
25 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd)
26 while read file; do
27 dir=$(dirname $file)
28 [ -d $fs$dir ] || mkdir -p $fs$dir
29 eval cp -a "$_pkg$file" $fs$dir
30 done < $_pkg/../$PACKAGE.files-list
31 }