wok diff p2c/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | c49ffc024a6c |
children | d765616e1f3d |
line diff
1.1 --- a/p2c/receipt Wed Jan 30 23:42:44 2019 +0100 1.2 +++ b/p2c/receipt Sat Mar 19 17:48:51 2022 +0100 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 -