wok view azpainter1/receipt @ rev 22349
python-llfuse: s|attr/xattr|sys/xattr|
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 18 10:45:32 2019 +0100 (2019-11-18) |
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 }