SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mypaint-brushes"

# SliTaz package receipt.

PACKAGE="mypaint-brushes"
VERSION="2.0.2"
CATEGORY="graphics"
SHORT_DESC="Brushes used by MyPaint and other software using libmypaint."
MAINTAINER="maintainer@slitaz.org"
LICENSE="CC0"
WEB_SITE="https://github.com/mypaint/mypaint-brushes"

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

BUILD_DEPENDS="automake"

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

# Rules to configure and make the package.
compile_rules()
{
    autoreconf -i &&
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --mandir=/usr/share/man \
        --localstatedir=/var &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib

    cook_copy_folders    mypaint-data
    cp -a $install/usr/share/pkgconfig    $fs/usr/lib
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)