wok-next annotate antiword/receipt @ rev 16307
ARM: now python seems to cross compile (if libpython.so ARM are installed in sysroot)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 08 00:37:42 2014 +0200 (2014-04-08) |
parents | f4fd0777003f |
children | dc626da69d4e |
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@15362 | 8 LICENSE="GPL" |
pascal@4919 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4919 | 10 WEB_SITE="http://www.antiword.org/" |
pascal@4919 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
jozee@4931 | 12 TAGS="word reader convert" |
pascal@4919 | 13 |
pascal@4919 | 14 # Rules to configure and make the package. |
pascal@4919 | 15 compile_rules() |
pascal@4919 | 16 { |
pascal@4919 | 17 cd $src |
pascal@4919 | 18 make && |
pascal@15362 | 19 make DESTDIR=$DESTDIR global_install |
pascal@4919 | 20 } |
pascal@4919 | 21 |
pascal@4919 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4919 | 23 genpkg_rules() |
pascal@4919 | 24 { |
pascal@4919 | 25 mkdir -p $fs/usr/bin |
pascal@15362 | 26 cp -a $install/usr/share $fs/usr |
pascal@15362 | 27 cp -a $install/usr/local/bin/antiword $fs/usr/bin |
pascal@4919 | 28 } |
pascal@4919 | 29 |