# 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"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.antiword.org/"
WGET_URL="${WEB_SITE}$TARBALL"
TAGS="word reader convert"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make &&
	make DESTDIR=$PWD/_pkg global_install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/bin
	cp -a $_pkg/usr/share $fs/usr
	cp -a $_pkg/usr/local/bin/antiword $fs/usr/bin
}