wok annotate antiword/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 03509d491272
children 00e3b45c063b
rev   line source
pascal@4919 1 # SliTaz package receipt.
pascal@4919 2
pascal@4919 3 PACKAGE="antiword"
pascal@4919 4 VERSION="0.37"
pascal@4919 5 CATEGORY="office"
pascal@4919 6 SHORT_DESC="MS Word reader to plain text or PostScript."
pascal@4919 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15362 8 LICENSE="GPL"
pascal@4919 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
hackdorte@20007 10 WEB_SITE="http://www.winfield.demon.nl/"
pascal@4919 11 WGET_URL="${WEB_SITE}$TARBALL"
jozee@4931 12 TAGS="word reader convert"
pascal@4919 13
pascal@24373 14 # What is the latest version available today?
pascal@24373 15 current_version()
pascal@24373 16 {
pascal@24373 17 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24373 18 sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|"
pascal@24373 19 }
pascal@24373 20
pascal@4919 21 # Rules to configure and make the package.
pascal@4919 22 compile_rules()
pascal@4919 23 {
pascal@4919 24 cd $src
pascal@4919 25 make &&
pascal@15362 26 make DESTDIR=$DESTDIR global_install
pascal@4919 27 }
pascal@4919 28
pascal@4919 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4919 30 genpkg_rules()
pascal@4919 31 {
pascal@4919 32 mkdir -p $fs/usr/bin
pascal@15362 33 cp -a $install/usr/share $fs/usr
pascal@15362 34 cp -a $install/usr/local/bin/antiword $fs/usr/bin
pascal@4919 35 }
pascal@4919 36