wok-current view 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 (8 months ago) |
parents | 00e3b45c063b |
children |
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="https://web.archive.org/web/20221207132720/http://www.winfield.demon.nl/"
11 WGET_URL="https://web.archive.org/web/20221117105329if_/http://www.winfield.demon.nl/linux/$TARBALL"
12 TAGS="word reader convert"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - http://www.winfield.demon.nl/ 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 make &&
25 make DESTDIR=$DESTDIR global_install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $install/usr/share $fs/usr
33 cp -a $install/usr/local/bin/antiword $fs/usr/bin
34 }