wok-current annotate odt2txt/receipt @ rev 3911
linux: add hotfix patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 17 16:45:47 2009 +0200 (2009-08-17) |
parents | d78262312181 |
children | 6ec17b55b59a |
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" |
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 } |