SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mypaint"

# SliTaz package receipt.

PACKAGE="mypaint"
VERSION="1.0.0"
CATEGORY="graphics"
SHORT_DESC="A fast and easy painting application for digital painters, with brush dynamics"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://web.archive.org/web/20230116050447/http://mypaint.org/" 
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://github.com/mypaint/mypaint/releases/download/v$VERSION/$TARBALL"

DEPENDS="pygtk python-numpy protobuf-python"
BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/MyPaint-[0-9]/!d;s|.*MyPaint-||;s|-release.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    scons
    scons prefix=$DESTDIR/usr install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share 
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/mypaint $fs/usr/share
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/icons $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)