wok-current annotate antiword/receipt @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
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 |