# SliTaz package receipt.

PACKAGE="odt2txt"
VERSION="0.4"
CATEGORY="utilities"
SHORT_DESC="A simple converter from OpenDocument Text to plain text"
MAINTAINER="milka@konstelacioj.info"
DEPENDS="zlib"
BUILD_DEPENDS="zlib-dev"
#SUGGESTED="odfread"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.stosberg.net/odt2txt/"
WGET_URL="http://www.stosberg.net/$PACKAGE/$TARBALL"
TAGS="office"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make
	mkdir -p $PWD/_pkg/usr/bin
	mv $PACKAGE $PWD/_pkg/usr/bin/
}

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