wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="antiword"
4 VERSION="0.37"
5 CATEGORY="office"
6 SHORT_DESC="MS Word reader to plain text or PostScript."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.winfield.demon.nl/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="word reader convert"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|"
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 make &&
26 make DESTDIR=$DESTDIR global_install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $install/usr/share $fs/usr
34 cp -a $install/usr/local/bin/antiword $fs/usr/bin
35 }