wok-current view odt2txt/receipt @ rev 24727

cookutils: add repo-cooking (used by tank)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 10:59:31 2022 +0000 (2022-03-15)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="odt2txt"
4 VERSION="0.5"
5 CATEGORY="utilities"
6 TAGS="office"
7 SHORT_DESC="A simple converter from OpenDocument Text to plain text."
8 MAINTAINER="milka@konstelacioj.info"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/dstosberg/odt2txt"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
15 #SUGGESTED="odfread"
16 DEPENDS="zlib"
17 BUILD_DEPENDS="zlib-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 mkdir -p $DESTDIR/usr/bin
30 mv $PACKAGE $DESTDIR/usr/bin/
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $install/usr/bin $fs/usr
38 }