wok diff xplc/receipt @ rev 24600
updated ghostscript and ghostscript-dev again (9.02 -> 9.55.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 07:43:51 2022 +0100 (2022-03-02) |
parents | eb8067417980 |
children | b0069c845544 |
line diff
1.1 --- a/xplc/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/xplc/receipt Wed Mar 02 07:43:51 2022 +0100 1.3 @@ -14,15 +14,20 @@ 1.4 DEPENDS="gcc-lib-base" 1.5 BUILD_DEPENDS="" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 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 - ./configure --prefix=/usr --mandir=/usr/share/man \ 1.19 - --without-libuuid $CONFIGURE_ARGS && 1.20 - make && 1.21 - make DESTDIR=$DESTDIR install 1.22 - 1.23 +compile_rules() 1.24 +{ 1.25 + ./configure --prefix=/usr --mandir=/usr/share/man \ 1.26 + --without-libuuid $CONFIGURE_ARGS && 1.27 + make && 1.28 + make DESTDIR=$DESTDIR install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg.