wok view odt2txt/receipt @ rev 25696
created recipe for dool
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 11 17:17:55 2024 +0100 (6 months ago) |
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 }