wok-next view azpainter/receipt @ rev 21077

rgb: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 04:44:58 2018 +0200 (2018-12-21)
parents dd145c435e4b
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="azpainter"
4 VERSION="2.1.2"
5 CATEGORY="graphics"
6 SHORT_DESC="Full color painting software for illustration drawing"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 BSD"
9 WEB_SITE="https://osdn.net/projects/azpainter/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://osdn.net/dl/azpainter/$TARBALL"
14 # Use GNU wget because Busybox wget can't follow redirection
15 BUILD_DEPENDS="wget freetype-dev fontconfig-dev libjpeg-turbo-dev \
16 xorg-libX11-dev xorg-libXext-dev xorg-libXi-dev"
18 compile_rules() {
19 # regenerate translations after patching
20 cd translation
21 make
22 for i in en be ja pt_BR ru uk zh_CN; do
23 ./mtrconv $i $i.mtr
24 done
25 cd -
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install-strip || return 1
31 cp -f translation/*.mtr $install/usr/share/azpainter/tr/
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="fontconfig freetype libjpeg-turbo libpng16 xorg-libX11 \
37 xorg-libXext xorg-libXi zlib"
38 }