SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "azdrawing"

# SliTaz package receipt.

PACKAGE="azdrawing"
VERSION="1.5"
CATEGORY="graphics"
SHORT_DESC="A painting software for line drawings and monochrome cartoons."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3 LGPL3"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://osdn.net/projects/azdrawing/"
WGET_URL="http://azsky2.html.xdomain.jp/arc/$TARBALL"

DEPENDS="xorg-libX11 xorg-libXext xorg-libXi xorg-libXft freetype fontconfig \
libjpeg-turbo"
BUILD_DEPENDS="xorg-dev freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    sed -e "s|/usr/local|$DESTDIR/usr|;s|\$(MACRO) ||" \
        -e '/gtk-update-icon-cache/d' -i Makefile
    make && make 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)