SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "azpainter1"

# SliTaz package receipt.

PACKAGE="azpainter1"
SOURCE="azpainter"
VERSION="1.0.7"
CATEGORY="graphics"
SHORT_DESC="Full color painting software for illustration drawing."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3 LGPL3"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="https://osdn.net/projects/azpainter/"
WGET_URL="https://web.archive.org/web/20171122010405if_/http://pumath.dl.osdn.jp/azpainter/64397/$TARBALL"

DEPENDS="xorg-libX11 xorg-libXext xorg-libXi freetype fontconfig libpng jpeg"
BUILD_DEPENDS="xorg-dev freetype-dev fontconfig-dev libpng-dev jpeg-dev \
zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/Symbian9/azpainter/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i    -e 's|\(write_JFIF_header.*\)TRUE|\1boolean(TRUE)|' \
        -e 's/\(jpeg_.*\)TRUE/\1boolean(TRUE)/' azxclass/src/AXJPEG.cpp
    sed -i "s|/usr/local|$DESTDIR/usr|;s|gtk|echo &|;s|\$(MACRO) ||" Makefile
    make &&
    make DESTDIR=$DESTDIR install
}

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