wok-current annotate antiword/receipt @ rev 4919
Add antiword
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 15 09:51:33 2010 +0100 (2010-02-15) |
parents | |
children | f4fd0777003f |
rev | line source |
---|---|
pascal@4919 | 1 # SliTaz package receipt. |
pascal@4919 | 2 |
pascal@4919 | 3 PACKAGE="antiword" |
pascal@4919 | 4 VERSION="0.37" |
pascal@4919 | 5 CATEGORY="office" |
pascal@4919 | 6 SHORT_DESC="MS Word reader to plain text or PostScript." |
pascal@4919 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4919 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4919 | 9 WEB_SITE="http://www.antiword.org/" |
pascal@4919 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@4919 | 11 |
pascal@4919 | 12 # Rules to configure and make the package. |
pascal@4919 | 13 compile_rules() |
pascal@4919 | 14 { |
pascal@4919 | 15 cd $src |
pascal@4919 | 16 make && |
pascal@4919 | 17 make DESTDIR=$PWD/_pkg global_install |
pascal@4919 | 18 } |
pascal@4919 | 19 |
pascal@4919 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4919 | 21 genpkg_rules() |
pascal@4919 | 22 { |
pascal@4919 | 23 mkdir -p $fs/usr/bin |
pascal@4919 | 24 cp -a $_pkg/usr/share $fs/usr |
pascal@4919 | 25 cp -a $_pkg/usr/local/bin/antiword $fs/usr/bin |
pascal@4919 | 26 } |
pascal@4919 | 27 |