wok-next annotate antiword/receipt @ rev 5832
Up: xfce4-session* (4.6.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 16 08:07:26 2010 +0200 (2010-07-16) |
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 |