wok-current diff antiword/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (9 months ago)
parents 00e3b45c063b
children
line diff
     1.1 --- a/antiword/receipt	Sat May 07 11:09:47 2022 +0000
     1.2 +++ b/antiword/receipt	Thu Mar 14 20:28:39 2024 +0000
     1.3 @@ -7,21 +7,20 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="GPL"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="http://www.winfield.demon.nl/"
     1.8 -WGET_URL="${WEB_SITE}linux/$TARBALL"
     1.9 +WEB_SITE="https://web.archive.org/web/20221207132720/http://www.winfield.demon.nl/"
    1.10 +WGET_URL="https://web.archive.org/web/20221117105329if_/http://www.winfield.demon.nl/linux/$TARBALL"
    1.11  TAGS="word reader convert"
    1.12  
    1.13  # What is the latest version available today?
    1.14  current_version()
    1.15  {
    1.16 -	wget -O - $WEB_SITE 2>/dev/null | \
    1.17 +	wget -O - http://www.winfield.demon.nl/ 2>/dev/null | \
    1.18  	sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|"
    1.19  }
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	make &&
    1.26  	make DESTDIR=$DESTDIR global_install
    1.27  }
    1.28 @@ -33,4 +32,3 @@
    1.29  	cp -a $install/usr/share $fs/usr
    1.30  	cp -a $install/usr/local/bin/antiword $fs/usr/bin
    1.31  }
    1.32 -