SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "o3read"

# SliTaz package receipt.

PACKAGE="o3read"
VERSION="0.0.4"
CATEGORY="utilities"
SHORT_DESC="Standalone converter for OpenOffice.org writer and calc formats"
MAINTAINER="milka@konstelacioj.info"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://siag.nu/o3read/"
WGET_URL="http://siag.nu/pub/o3read/$PACKAGE-$VERSION.tar.gz"
TAGS="office"

DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|uname -m|echo i486|' Makefile
    sed -i 's|/man/|/share&|' Makefile
    make install PREFIX=$DESTDIR/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)