wok annotate odt2txt/receipt @ rev 15596
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 10:45:02 2013 +0000 (2013-12-05) |
parents | 02bbaa9d12ba |
children | 5425712349aa |
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@15590 | 8 LICENSE="GPL2" |
milka@1160 | 9 #SUGGESTED="odfread" |
milka@1160 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
milka@1160 | 11 WEB_SITE="http://www.stosberg.net/odt2txt/" |
milka@1160 | 12 WGET_URL="http://www.stosberg.net/$PACKAGE/$TARBALL" |
jozee@4970 | 13 TAGS="office" |
milka@1160 | 14 |
pascal@15590 | 15 DEPENDS="zlib" |
pascal@15590 | 16 BUILD_DEPENDS="zlib-dev" |
pascal@15590 | 17 |
milka@1160 | 18 # Rules to configure and make the package. |
milka@1160 | 19 compile_rules() |
milka@1160 | 20 { |
milka@1160 | 21 cd $src |
milka@1160 | 22 make |
pascal@15590 | 23 mkdir -p $DESTDIR/usr/bin |
pascal@15590 | 24 mv $PACKAGE $DESTDIR/usr/bin/ |
milka@1160 | 25 } |
milka@1160 | 26 |
milka@1160 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1160 | 28 genpkg_rules() |
milka@1160 | 29 { |
milka@1160 | 30 mkdir -p $fs/usr/bin |
pascal@15590 | 31 cp -a $install/usr/bin $fs/usr |
jozee@4970 | 32 } |