SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmypaint"

# SliTaz package receipt.

PACKAGE="libmypaint"
VERSION="1.6.1"
CATEGORY="development"
TAGS="paint"
SHORT_DESC="Library for making brushstrokes which is used by MyPaint and other projects."
MAINTAINER="maintainer@slitaz.org"
LICENSE="ISC"
WEB_SITE="https://web.archive.org/web/20230116050447/http://mypaint.org/" 

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"

SUGGESTED="libmypaint-lang"
DEPENDS="libjson-c"
BUILD_DEPENDS="file libjson-c-dev"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        --enable-static &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files        *.so*
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)