wok diff zaptel-perl/receipt @ rev 1370
Add jack-audio-connection-kit
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Sep 11 19:06:27 2008 +0000 (2008-09-11) |
parents | d659eda8a095 |
children | 03a799424aaa |
line diff
1.1 --- a/zaptel-perl/receipt Mon Aug 04 13:34:35 2008 +0000 1.2 +++ b/zaptel-perl/receipt Thu Sep 11 19:06:27 2008 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="zaptel-perl" 1.7 -VERSION= 1.8 +VERSION="bristuff" 1.9 CATEGORY="system" 1.10 SHORT_DESC="Zapata Telephony Interface Driver, PERL modules." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -13,17 +13,15 @@ 1.13 get_version() 1.14 { 1.15 eval $(grep ^ZAP_VER= $WOK/$WANTED/$WANTED-*/download.sh) 1.16 - VERSION=$ZAP_VER 1.17 + VERSION=$WANTED-$ZAP_VER 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 - if [ -d taz/$PACKAGE-/fs ]; then 1.24 - get_version 1.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 1.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 1.27 - fi 1.28 + get_version 1.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 1.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 1.31 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd) 1.32 while read file; do 1.33 dir=$(dirname $file)