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 '/tag\//!d;s|.*tag/v*||;s|".*||;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*
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)