wok annotate azpainter1/receipt @ rev 24279
taziso: rework usbbootkey
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 10 14:18:26 2022 +0000 (2022-01-10) |
parents | f607fcd5661e |
children | 7dc646816bdc |
rev | line source |
---|---|
pascal@19955 | 1 # SliTaz package receipt. |
pascal@19955 | 2 |
pascal@19955 | 3 PACKAGE="azpainter1" |
pascal@19955 | 4 SOURCE="azpainter" |
pascal@19955 | 5 VERSION="1.0.7" |
pascal@19955 | 6 CATEGORY="graphics" |
pascal@19955 | 7 SHORT_DESC="Full color painting software for illustration drawing." |
pascal@19955 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19955 | 9 LICENSE="GPL3 LGPL3" |
pascal@19955 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@19955 | 11 WEB_SITE="https://osdn.net/projects/azpainter/" |
pascal@19955 | 12 WGET_URL="http://rwthaachen.dl.osdn.jp/azpainter/64397/$TARBALL" |
pascal@19955 | 13 |
pascal@19955 | 14 DEPENDS="xorg-libX11 xorg-libXext xorg-libXi freetype fontconfig libpng jpeg" |
pascal@19955 | 15 BUILD_DEPENDS="xorg-dev freetype-dev fontconfig-dev libpng-dev jpeg-dev \ |
pascal@19955 | 16 zlib-dev" |
pascal@19955 | 17 |
pascal@19955 | 18 # Rules to configure and make the package. |
pascal@19955 | 19 compile_rules() |
pascal@19955 | 20 { |
pascal@21121 | 21 sed -i -e 's|\(write_JFIF_header.*\)TRUE|\1boolean(TRUE)|' \ |
pascal@21121 | 22 -e 's/\(jpeg_.*\)TRUE/\1boolean(TRUE)/' azxclass/src/AXJPEG.cpp |
pascal@19956 | 23 sed -i "s|/usr/local|$DESTDIR/usr|;s|gtk|echo &|;s|\$(MACRO) ||" Makefile |
pascal@19955 | 24 make && |
pascal@19955 | 25 make DESTDIR=$DESTDIR install |
pascal@19955 | 26 } |
pascal@19955 | 27 |
pascal@19955 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19955 | 29 genpkg_rules() |
pascal@19955 | 30 { |
pascal@19955 | 31 cp -a $install/usr $fs |
pascal@19955 | 32 } |