wok annotate antiword/receipt @ rev 24978

Add memtest-efi32 & memtest-efi64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 11:09:47 2022 +0000 (2022-05-07)
parents 9af0e03b8ad0
children 5df5ea17e6b8
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@24978 11 WGET_URL="${WEB_SITE}linux/$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