wok-6.x diff splix/receipt @ rev 24994

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 15 20:25:22 2022 +0000 (2022-05-15)
parents 3d805214d753
children 65ff25c4de90
line diff
     1.1 --- a/splix/receipt	Sat Nov 30 11:34:10 2013 +0000
     1.2 +++ b/splix/receipt	Sun May 15 20:25:22 2022 +0000
     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