wok-6.x view azpainter1/receipt @ rev 23943
Up cryptsetup-dev (2.3.4), lzham_codec (1_0_stable1), slitaz-boot-scripts (466), tazlito (527)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 17 10:31:38 2020 +0000 (2020-09-17) |
parents | f607fcd5661e |
children | 7dc646816bdc |
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="http://rwthaachen.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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i -e 's|\(write_JFIF_header.*\)TRUE|\1boolean(TRUE)|' \
22 -e 's/\(jpeg_.*\)TRUE/\1boolean(TRUE)/' azxclass/src/AXJPEG.cpp
23 sed -i "s|/usr/local|$DESTDIR/usr|;s|gtk|echo &|;s|\$(MACRO) ||" Makefile
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }