wok-current diff mgetty/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | f4cabbf676fc |
children | 1debe89dc518 |
line diff
1.1 --- a/mgetty/receipt Mon Sep 23 12:51:41 2013 +0000 1.2 +++ b/mgetty/receipt Thu Mar 26 09:34:19 2015 +0100 1.3 @@ -8,15 +8,13 @@ 1.4 LICENSE="GPL2" 1.5 TARBALL="$PACKAGE$VERSION-Jun05.tar.gz" 1.6 WEB_SITE="http://mgetty.greenie.net/" 1.7 -WGET_URL="ftp://mgetty.greenie.net/pub/$PACKAGE/source/1.1/$TARBALL" 1.8 +WGET_URL="ftp://mgetty.greenie.net/pub/$PACKAGE/source/${VERSION%.*}/$TARBALL" 1.9 DEPENDS="slitaz-base-files" 1.10 CONFIG_FILES="/etc/mgetty+sendfax" 1.11 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - 1.16 - cd $src 1.17 [ -f Makefile.dist ] && mv -f Makefile.dist Makefile 1.18 cp Makefile Makefile.dist 1.19 cp Makefile Makefile.install