wok diff splix/receipt @ rev 24947

updated nagios-nrpe (4.0.2 -> 4.0.3)
author Hans-G?nter Theisgen
date Fri Apr 22 17:39:55 2022 +0100 (2022-04-22)
parents 3d805214d753
children 65ff25c4de90
line diff
     1.1 --- a/splix/receipt	Sat Nov 30 11:34:10 2013 +0000
     1.2 +++ b/splix/receipt	Fri Apr 22 17:39:55 2022 +0100
     1.3 @@ -14,8 +14,14 @@
     1.4  DEPENDS="cups gcc gcc-lib-base"
     1.5  BUILD_DEPENDS="cups cups-dev jbigkit"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15 -
    1.16  compile_rules() {
    1.17  	  cd $src
    1.18  	  sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp