wok diff fpc/receipt @ rev 24178
created recipe for perl-file-sharedir-install
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 06:33:57 2021 +0100 (2021-12-31) |
parents | 6e8b1bcb30e2 |
children | 8f37db468deb |
line diff
1.1 --- a/fpc/receipt Thu Jan 24 11:33:03 2019 +0100 1.2 +++ b/fpc/receipt Fri Dec 31 06:33:57 2021 +0100 1.3 @@ -19,6 +19,12 @@ 1.4 DEPENDS="ncurses" 1.5 BUILD_DEPENDS="fpc-bootstrap" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \ 1.10 + sed '/source-/!d;s|.*/source-\([\.0-9]*\)\..*|\1|;q' 1.11 +} 1.12 + 1.13 # Handle cross compilation. ARM: fpc-bootstrap build host must be installed 1.14 case "$ARCH" in 1.15 arm*) BUILD_DEPENDS="" ;;