SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "azpainter"

# SliTaz package receipt.

PACKAGE="azpainter"
VERSION="3.0.4"
CATEGORY="graphics"
SHORT_DESC="Full color painting software for illustration drawing."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3 BSD"
WEB_SITE="https://osdn.net/projects/azpainter/"

TARBALL="$PACKAGE-v$VERSION.tar.bz2"
WGET_URL="https://gitlab.com/azelpg/$PACKAGE/-/archive/v$VERSION/$TARBALL"

DEPENDS="fontconfig freetype libjpeg libpng libwebp tiff xorg-libX11
    xorg-libXext xorg-libXi"
BUILD_DEPENDS="fontconfig-dev freetype-dev libpng-dev jpeg-dev
    libwebp-dev tiff-dev xorg-dev zlib-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/-\/tags\//!d;s|.*">v*||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        LIBS="-lz -ljpeg" &&
    make &&
    make DESTDIR=$DESTDIR install
# < 3.0.3    make DESTDIR=$DESTDIR install-strip
}

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