wok view azpainter1/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }