wok-current rev 17197
bash: update version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 15:12:04 2014 +0200 (2014-10-08) |
parents | e76deed8769f |
children | e80ee30bd5bb |
files | bash/receipt |
line diff
1.1 --- a/bash/receipt Wed Oct 08 15:03:17 2014 +0200 1.2 +++ b/bash/receipt Wed Oct 08 15:12:04 2014 +0200 1.3 @@ -1,17 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="bash" 1.7 -VERSION="4.2" 1.8 +VERSION="4.2.53" 1.9 +BASEVERSION="${VERSION%.*}" 1.10 CATEGORY="system-tools" 1.11 SHORT_DESC="The GNU bourne SHell." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +TARBALL="$PACKAGE-$BASEVERSION.tar.gz" 1.16 WEB_SITE="http://www.gnu.org/software/bash/" 1.17 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.18 BASHCHECKURL="https://raw.githubusercontent.com/hannob/bashcheck/master/bashcheck" 1.19 BASHCHECK="$(basename $BASHCHECKURL)" 1.20 -BASHPATCHES="$(for i in $(seq 1 53); do printf "bash${VERSION/./}-%03d " $i; done)" 1.21 +BASHPATCHES="$(for i in $(seq 1 ${VERSION##*.}); do printf "bash${BASEVERSION/./}-%03d " $i; done)" 1.22 EXTRA_SOURCE_FILES="$BASHCHECK $BASHPATCHES" 1.23 1.24 DEPENDS="readline" 1.25 @@ -22,7 +23,7 @@ 1.26 for i in $BASHPATCHES ; do 1.27 [ -s "$SOURCES_REPOSITORY/$i" ] || 1.28 wget -O "$SOURCES_REPOSITORY/$i" \ 1.29 - http://ftp.gnu.org/gnu/bash/bash-$VERSION-patches/$i 1.30 + http://ftp.gnu.org/gnu/bash/bash-$BASEVERSION-patches/$i 1.31 echo "Apply $i ..." 1.32 patch -p0 < $SOURCES_REPOSITORY/$i 1.33 done