wok annotate o3read/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (22 months ago)
parents 3705d68ed8f3
children
rev   line source
milka@1134 1 # SliTaz package receipt.
milka@1134 2
milka@1134 3 PACKAGE="o3read"
milka@1134 4 VERSION="0.0.4"
milka@1134 5 CATEGORY="utilities"
milka@1134 6 SHORT_DESC="Standalone converter for OpenOffice.org writer and calc formats"
milka@1134 7 MAINTAINER="milka@konstelacioj.info"
pascal@15590 8 LICENSE="GPL2"
milka@1134 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
milka@1134 10 WEB_SITE="http://siag.nu/o3read/"
milka@1134 11 WGET_URL="http://siag.nu/pub/o3read/$PACKAGE-$VERSION.tar.gz"
jozee@4970 12 TAGS="office"
milka@1134 13
pascal@15590 14 DEPENDS=""
pascal@15590 15
pascal@24453 16 # What is the latest version available today?
pascal@24453 17 current_version()
pascal@24453 18 {
pascal@24453 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 21 }
pascal@24453 22
milka@1134 23 # Rules to configure and make the package.
milka@1134 24 compile_rules()
milka@1134 25 {
pascal@20212 26 sed -i 's|uname -m|echo i486|' Makefile
pascal@19293 27 sed -i 's|/man/|/share&|' Makefile
pascal@15590 28 make install PREFIX=$DESTDIR/usr
milka@1134 29 }
milka@1134 30
milka@1134 31 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1134 32 genpkg_rules()
milka@1134 33 {
milka@1134 34 mkdir -p $fs/usr
pascal@15590 35 cp -a $install/usr/bin $fs/usr
milka@1134 36 }
milka@1134 37