SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pinta"

# SliTaz package receipt.

PACKAGE="pinta"
VERSION="1.6"
CATEGORY="graphics"
SHORT_DESC="Free, open source program for drawing and image editing"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="MIT"
WEB_SITE="https://pinta-project.com/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/PintaProject/Pinta/archive/$VERSION.tar.gz"
COOKOPTS="!pixmaps"

DEPENDS="mono gtk-sharp"
BUILD_DEPENDS="automake mono-dev gtk-sharp-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files pinta *.dll *.exe *.mo
    cook_copy_icons 16 32 # 48 is absent
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)