wok view azpainter1/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | fa5a8f0acc3b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="azpainter1"
4 SOURCE="azpainter"
5 VERSION="1.0.7"
6 CATEGORY="graphics"
7 SHORT_DESC="Full color painting software for illustration drawing."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3 LGPL3"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://osdn.net/projects/azpainter/"
12 WGET_URL="https://web.archive.org/web/20171122010405if_/http://pumath.dl.osdn.jp/azpainter/64397/$TARBALL"
14 DEPENDS="xorg-libX11 xorg-libXext xorg-libXi freetype fontconfig libpng jpeg"
15 BUILD_DEPENDS="xorg-dev freetype-dev fontconfig-dev libpng-dev jpeg-dev \
16 zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/probonopd/azpainter/tags 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's|\(write_JFIF_header.*\)TRUE|\1boolean(TRUE)|' \
29 -e 's/\(jpeg_.*\)TRUE/\1boolean(TRUE)/' azxclass/src/AXJPEG.cpp
30 sed -i "s|/usr/local|$DESTDIR/usr|;s|gtk|echo &|;s|\$(MACRO) ||" Makefile
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }