SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "nathive"

# SliTaz package receipt.

PACKAGE="nathive"
VERSION="0.924"
CATEGORY="graphics"
SHORT_DESC="lightweight image editor"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="http://www.nathive.org/" 
WGET_URL="${WEB_SITE}dl/$TARBALL"
TAGS="image photo editor"

DEPENDS="gtk+ python"
BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations"

# What is the latest version available today?
current_version()
{
    wget -O - http://www.nathive.org/download 2>/dev/null | \
    sed '/ource tarball/d;/.*nathive-[0-9]/!d;/tgz/!d;s|.*nathive-||;s|.tgz.*||;/-/d;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i "s|^BASE.*|BASE = $DESTDIR/usr/|;s|nathive.sh|nathive.py|" makefile
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)