wok-6.x annotate odt2txt/receipt @ rev 5970
Add perl-rfc-rfc822-address
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 07 09:11:06 2010 +0200 (2010-08-07) |
parents | 4482e0fab13a |
children | 02bbaa9d12ba |
rev | line source |
---|---|
milka@1160 | 1 # SliTaz package receipt. |
milka@1160 | 2 |
milka@1160 | 3 PACKAGE="odt2txt" |
milka@1160 | 4 VERSION="0.4" |
milka@1160 | 5 CATEGORY="utilities" |
milka@1160 | 6 SHORT_DESC="A simple converter from OpenDocument Text to plain text" |
milka@1160 | 7 MAINTAINER="milka@konstelacioj.info" |
pascal@2459 | 8 DEPENDS="zlib" |
milka@1160 | 9 BUILD_DEPENDS="zlib-dev" |
milka@1160 | 10 #SUGGESTED="odfread" |
milka@1160 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
milka@1160 | 12 WEB_SITE="http://www.stosberg.net/odt2txt/" |
milka@1160 | 13 WGET_URL="http://www.stosberg.net/$PACKAGE/$TARBALL" |
jozee@4970 | 14 TAGS="office" |
milka@1160 | 15 |
milka@1160 | 16 # Rules to configure and make the package. |
milka@1160 | 17 compile_rules() |
milka@1160 | 18 { |
milka@1160 | 19 cd $src |
milka@1160 | 20 make |
milka@1160 | 21 mkdir -p $PWD/_pkg/usr/bin |
milka@1160 | 22 mv $PACKAGE $PWD/_pkg/usr/bin/ |
milka@1160 | 23 } |
milka@1160 | 24 |
milka@1160 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1160 | 26 genpkg_rules() |
milka@1160 | 27 { |
milka@1160 | 28 mkdir -p $fs/usr/bin |
milka@1160 | 29 cp -a $_pkg/usr/bin $fs/usr |
milka@1160 | 30 strip -s $fs/usr/bin/* |
jozee@4970 | 31 } |