wok diff p2c/receipt @ rev 24307
slitaz-boot-scripts: update
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Jan 17 12:42:24 2022 -0500 (2022-01-17) |
parents | c49ffc024a6c |
children | d765616e1f3d |
line diff
1.1 --- a/p2c/receipt Wed Jan 30 23:42:44 2019 +0100 1.2 +++ b/p2c/receipt Mon Jan 17 12:42:24 2022 -0500 1.3 @@ -13,6 +13,12 @@ 1.4 1.5 DEPENDS="perl" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 @@ -35,7 +41,6 @@ 1.17 cp sys.p2crc loc.p2crc system.imp system.m2 turbo.imp string.pas \ 1.18 $DESTDIR/usr/lib/p2c 1.19 mv $DESTDIR/usr/lib/p2c/sys.p2crc $DESTDIR/usr/lib/p2c/p2crc 1.20 - 1.21 } 1.22 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 @@ -43,4 +48,3 @@ 1.25 { 1.26 cp -a $install/* $fs 1.27 } 1.28 -