wok annotate antiword/receipt @ rev 9787
efreet: fix BUILD_DEPEND and DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 12 15:43:28 2011 +0200 (2011-05-12) |
parents | d90d5291a362 |
children | 617dbdeb6f7e |
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" |
jozee@4931 | 11 TAGS="word reader convert" |
pascal@4919 | 12 |
pascal@4919 | 13 # Rules to configure and make the package. |
pascal@4919 | 14 compile_rules() |
pascal@4919 | 15 { |
pascal@4919 | 16 cd $src |
pascal@4919 | 17 make && |
pascal@4919 | 18 make DESTDIR=$PWD/_pkg global_install |
pascal@4919 | 19 } |
pascal@4919 | 20 |
pascal@4919 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4919 | 22 genpkg_rules() |
pascal@4919 | 23 { |
pascal@4919 | 24 mkdir -p $fs/usr/bin |
pascal@4919 | 25 cp -a $_pkg/usr/share $fs/usr |
pascal@4919 | 26 cp -a $_pkg/usr/local/bin/antiword $fs/usr/bin |
pascal@4919 | 27 } |
pascal@4919 | 28 |