wok view antiword/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 5df5ea17e6b8 |
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 - $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 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 }