wok annotate odt2txt/receipt @ rev 24873
updated lynis (3.0.6 -> 3.0.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 07:46:22 2022 +0100 (2022-03-31) |
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 } |