SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "antiword"

# SliTaz package receipt.

PACKAGE="antiword"
VERSION="0.37"
CATEGORY="office"
SHORT_DESC="MS Word reader to plain text or PostScript."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20221207132720/http://www.winfield.demon.nl/"
WGET_URL="https://web.archive.org/web/20221117105329if_/http://www.winfield.demon.nl/linux/$TARBALL"
TAGS="word reader convert"

# What is the latest version available today?
current_version()
{
    wget -O - http://www.winfield.demon.nl/ 2>/dev/null | \
    sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|"
}

# Rules to configure and make the package.
compile_rules()
{
    make &&
    make DESTDIR=$DESTDIR global_install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $install/usr/share $fs/usr
    cp -a $install/usr/local/bin/antiword $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)