wok rev 4919

Add antiword
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 15 09:51:33 2010 +0100 (2010-02-15)
parents b12a3c212a62
children 12f8af5fe3c8
files antiword/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/antiword/receipt	Mon Feb 15 09:51:33 2010 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="antiword"
     1.7 +VERSION="0.37"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="MS Word reader to plain text or PostScript."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.antiword.org/"
    1.13 +WGET_URL="${WEB_SITE}$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	make &&
    1.20 +	make DESTDIR=$PWD/_pkg global_install
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/bin
    1.27 +	cp -a $_pkg/usr/share $fs/usr
    1.28 +	cp -a $_pkg/usr/local/bin/antiword $fs/usr/bin
    1.29 +}
    1.30 +