wok-4.x view antiword/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents d90d5291a362
children
line source
1 # SliTaz package receipt.
3 PACKAGE="antiword"
4 VERSION="0.37"
5 CATEGORY="office"
6 SHORT_DESC="MS Word reader to plain text or PostScript."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.antiword.org/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 TAGS="word reader convert"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make &&
18 make DESTDIR=$PWD/_pkg global_install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $_pkg/usr/share $fs/usr
26 cp -a $_pkg/usr/local/bin/antiword $fs/usr/bin
27 }