wok-6.x annotate odt2txt/receipt @ rev 1160
Add: odt2txt
author | Michael Dupont <milka@konstelacioj.info> |
---|---|
date | Sun Jul 27 23:53:17 2008 +0200 (2008-07-27) |
parents | |
children | 4482e0fab13a |
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" |
milka@1160 | 8 #DEPENDS="" |
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" |
milka@1160 | 14 |
milka@1160 | 15 # Rules to configure and make the package. |
milka@1160 | 16 compile_rules() |
milka@1160 | 17 { |
milka@1160 | 18 cd $src |
milka@1160 | 19 make |
milka@1160 | 20 mkdir -p $PWD/_pkg/usr/bin |
milka@1160 | 21 mv $PACKAGE $PWD/_pkg/usr/bin/ |
milka@1160 | 22 } |
milka@1160 | 23 |
milka@1160 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1160 | 25 genpkg_rules() |
milka@1160 | 26 { |
milka@1160 | 27 mkdir -p $fs/usr/bin |
milka@1160 | 28 cp -a $_pkg/usr/bin $fs/usr |
milka@1160 | 29 strip -s $fs/usr/bin/* |
milka@1160 | 30 } |