# HG changeset patch # User Pascal Bellard # Date 1266223893 -3600 # Node ID d90d5291a362cb377389f3bcf6f2f267451a6900 # Parent b12a3c212a6249809aff14873186c14639122d89 Add antiword diff -r b12a3c212a62 -r d90d5291a362 antiword/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/antiword/receipt Mon Feb 15 09:51:33 2010 +0100 @@ -0,0 +1,27 @@ +# 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" + +# 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 +} +