wok view antiword/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 9af0e03b8ad0
children 5df5ea17e6b8
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}linux/$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 }