wok view o3read/receipt @ rev 25598

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