wok-4.x rev 1327
bristuff related packages: VERSION="bristuff"
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 08:40:47 2008 +0000 (2008-08-31) |
parents | 24cffdc5d961 |
children | 1fb624a36c57 |
files | asterisk-dev/receipt asterisk-sound-fr/receipt asterisk-sound/receipt asterisk/receipt zaptel-dev/receipt zaptel-perl/receipt zaptel/receipt |
line diff
1.1 --- a/asterisk-dev/receipt Fri Aug 29 15:41:08 2008 +0000 1.2 +++ b/asterisk-dev/receipt Sun Aug 31 08:40:47 2008 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="asterisk-dev" 1.7 -VERSION= 1.8 +VERSION="bristuff" 1.9 CATEGORY="system" 1.10 SHORT_DESC="Open Source PBX and telephony toolkit development files." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -12,17 +12,15 @@ 1.13 get_version() 1.14 { 1.15 eval $(grep ^AST_VER= $WOK/$WANTED/$WANTED-*/download.sh) 1.16 - VERSION=$AST_VER 1.17 + VERSION=$WANTED-$AST_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)
2.1 --- a/asterisk-sound-fr/receipt Fri Aug 29 15:41:08 2008 +0000 2.2 +++ b/asterisk-sound-fr/receipt Sun Aug 31 08:40:47 2008 +0000 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="asterisk-sound-fr" 2.7 -VERSION= 2.8 +VERSION="bristuff" 2.9 CATEGORY="system" 2.10 SHORT_DESC="Open Source PBX and telephony toolkit sound files (fr)." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -13,17 +13,15 @@ 2.13 get_version() 2.14 { 2.15 eval $(grep ^AST_VER= $WOK/$WANTED/$WANTED-*/download.sh) 2.16 - VERSION=$AST_VER 2.17 + VERSION=$WANTED-$AST_VER 2.18 } 2.19 2.20 # Rules to gen a SliTaz package suitable for Tazpkg. 2.21 genpkg_rules() 2.22 { 2.23 - if [ -d taz/$PACKAGE-/fs ]; then 2.24 - get_version 2.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 2.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 2.27 - fi 2.28 + get_version 2.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 2.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 2.31 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd) 2.32 while read file; do 2.33 dir=$(dirname $file)
3.1 --- a/asterisk-sound/receipt Fri Aug 29 15:41:08 2008 +0000 3.2 +++ b/asterisk-sound/receipt Sun Aug 31 08:40:47 2008 +0000 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="asterisk-sound" 3.7 -VERSION= 3.8 +VERSION="bristuff" 3.9 CATEGORY="system" 3.10 SHORT_DESC="Open Source PBX and telephony toolkit sound files (en)." 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 @@ -13,17 +13,15 @@ 3.13 get_version() 3.14 { 3.15 eval $(grep ^AST_VER= $WOK/$WANTED/$WANTED-*/download.sh) 3.16 - VERSION=$AST_VER 3.17 + VERSION=$WANTED-$AST_VER 3.18 } 3.19 3.20 # Rules to gen a SliTaz package suitable for Tazpkg. 3.21 genpkg_rules() 3.22 { 3.23 - if [ -d taz/$PACKAGE-/fs ]; then 3.24 - get_version 3.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 3.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 3.27 - fi 3.28 + get_version 3.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 3.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 3.31 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd) 3.32 while read file; do 3.33 dir=$(dirname $file)
4.1 --- a/asterisk/receipt Fri Aug 29 15:41:08 2008 +0000 4.2 +++ b/asterisk/receipt Sun Aug 31 08:40:47 2008 +0000 4.3 @@ -1,7 +1,7 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="asterisk" 4.7 -VERSION= 4.8 +VERSION="bristuff" 4.9 CATEGORY="system" 4.10 SHORT_DESC="Open Source PBX and telephony toolkit." 4.11 MAINTAINER="pascal.bellard@slitaz.org" 4.12 @@ -16,17 +16,15 @@ 4.13 get_version() 4.14 { 4.15 eval $(grep ^AST_VER= $WOK/$WANTED/$WANTED-*/download.sh) 4.16 - VERSION=$AST_VER 4.17 + VERSION=$WANTED-$AST_VER 4.18 } 4.19 4.20 # Rules to gen a SliTaz package suitable for Tazpkg. 4.21 genpkg_rules() 4.22 { 4.23 - if [ -d taz/$PACKAGE-/fs ]; then 4.24 - get_version 4.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 4.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 4.27 - fi 4.28 + get_version 4.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 4.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 4.31 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd) 4.32 while read file; do 4.33 dir=$(dirname $file)
5.1 --- a/zaptel-dev/receipt Fri Aug 29 15:41:08 2008 +0000 5.2 +++ b/zaptel-dev/receipt Sun Aug 31 08:40:47 2008 +0000 5.3 @@ -1,7 +1,7 @@ 5.4 # SliTaz package receipt. 5.5 5.6 PACKAGE="zaptel-dev" 5.7 -VERSION= 5.8 +VERSION="bristuff" 5.9 CATEGORY="system" 5.10 SHORT_DESC="Zapata Telephony Interface Driver devel files." 5.11 MAINTAINER="pascal.bellard@slitaz.org" 5.12 @@ -12,17 +12,15 @@ 5.13 get_version() 5.14 { 5.15 eval $(grep ^ZAP_VER= $WOK/$WANTED/$WANTED-*/download.sh) 5.16 - VERSION=$ZAP_VER 5.17 + VERSION=$WANTED-$ZAP_VER 5.18 } 5.19 5.20 # Rules to gen a SliTaz package suitable for Tazpkg. 5.21 genpkg_rules() 5.22 { 5.23 - if [ -d taz/$PACKAGE-/fs ]; then 5.24 - get_version 5.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 5.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 5.27 - fi 5.28 + get_version 5.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 5.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 5.31 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd) 5.32 while read file; do 5.33 dir=$(dirname $file)
6.1 --- a/zaptel-perl/receipt Fri Aug 29 15:41:08 2008 +0000 6.2 +++ b/zaptel-perl/receipt Sun Aug 31 08:40:47 2008 +0000 6.3 @@ -1,7 +1,7 @@ 6.4 # SliTaz package receipt. 6.5 6.6 PACKAGE="zaptel-perl" 6.7 -VERSION= 6.8 +VERSION="bristuff" 6.9 CATEGORY="system" 6.10 SHORT_DESC="Zapata Telephony Interface Driver, PERL modules." 6.11 MAINTAINER="pascal.bellard@slitaz.org" 6.12 @@ -13,17 +13,15 @@ 6.13 get_version() 6.14 { 6.15 eval $(grep ^ZAP_VER= $WOK/$WANTED/$WANTED-*/download.sh) 6.16 - VERSION=$ZAP_VER 6.17 + VERSION=$WANTED-$ZAP_VER 6.18 } 6.19 6.20 # Rules to gen a SliTaz package suitable for Tazpkg. 6.21 genpkg_rules() 6.22 { 6.23 - if [ -d taz/$PACKAGE-/fs ]; then 6.24 - get_version 6.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 6.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 6.27 - fi 6.28 + get_version 6.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 6.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 6.31 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd) 6.32 while read file; do 6.33 dir=$(dirname $file)
7.1 --- a/zaptel/receipt Fri Aug 29 15:41:08 2008 +0000 7.2 +++ b/zaptel/receipt Sun Aug 31 08:40:47 2008 +0000 7.3 @@ -1,7 +1,7 @@ 7.4 # SliTaz package receipt. 7.5 7.6 PACKAGE="zaptel" 7.7 -VERSION= 7.8 +VERSION="bristuff" 7.9 CATEGORY="system" 7.10 SHORT_DESC="Zapata Telephony Interface Driver." 7.11 MAINTAINER="pascal.bellard@slitaz.org" 7.12 @@ -13,17 +13,15 @@ 7.13 get_version() 7.14 { 7.15 eval $(grep ^ZAP_VER= $WOK/$WANTED/$WANTED-*/download.sh) 7.16 - VERSION=$ZAP_VER 7.17 + VERSION=$WANTED-$ZAP_VER 7.18 } 7.19 7.20 # Rules to gen a SliTaz package suitable for Tazpkg. 7.21 genpkg_rules() 7.22 { 7.23 - if [ -d taz/$PACKAGE-/fs ]; then 7.24 - get_version 7.25 - sed -i "s/^VERSION=.*/VERSION=\"$VERSION\"/" receipt 7.26 - mv taz/$PACKAGE- taz/$PACKAGE-$VERSION 7.27 - fi 7.28 + get_version 7.29 + [ -d taz/$PACKAGE-$WANTED/fs ] && \ 7.30 + mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 7.31 kver=$(grep "kernel version" ../linux/linux-*/.config) 7.32 kver=${kver##* } 7.33 EXTRAVERSION=_$kver 7.34 @@ -43,7 +41,7 @@ 7.35 $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 7.36 etc/zaptel.conf 7.37 EOT 7.38 - depmod -a -b "$1/" $EXTRAVERSION-slitaz 7.39 + depmod -a -b "$1/" 7.40 } 7.41 7.42 post_remove()