wok-6.x view azpainter1/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | 7dc646816bdc |
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/Symbian9/azpainter/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }