wok-current annotate odt2txt/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (2022-07-01)
parents 5ea0ce1cecc0
children
rev   line source
milka@1160 1 # SliTaz package receipt.
milka@1160 2
milka@1160 3 PACKAGE="odt2txt"
Hans-G?nter@21606 4 VERSION="0.5"
milka@1160 5 CATEGORY="utilities"
Hans-G?nter@21606 6 TAGS="office"
Hans-G?nter@21606 7 SHORT_DESC="A simple converter from OpenDocument Text to plain text."
milka@1160 8 MAINTAINER="milka@konstelacioj.info"
pascal@15590 9 LICENSE="GPL2"
Hans-G?nter@21606 10 WEB_SITE="https://github.com/dstosberg/odt2txt"
Hans-G?nter@21606 11
Hans-G?nter@21606 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21606 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
Hans-G?nter@21606 14
milka@1160 15 #SUGGESTED="odfread"
pascal@15590 16 DEPENDS="zlib"
pascal@15590 17 BUILD_DEPENDS="zlib-dev"
pascal@15590 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24299 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
milka@1160 25 # Rules to configure and make the package.
milka@1160 26 compile_rules()
milka@1160 27 {
milka@1160 28 make
pascal@15590 29 mkdir -p $DESTDIR/usr/bin
pascal@15590 30 mv $PACKAGE $DESTDIR/usr/bin/
milka@1160 31 }
milka@1160 32
milka@1160 33 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1160 34 genpkg_rules()
milka@1160 35 {
milka@1160 36 mkdir -p $fs/usr/bin
pascal@15590 37 cp -a $install/usr/bin $fs/usr
jozee@4970 38 }