wok annotate azpainter/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (22 months ago)
parents 076f424196b2
children
rev   line source
pascal@19948 1 # SliTaz package receipt.
pascal@19948 2
pascal@19948 3 PACKAGE="azpainter"
Hans-G?nter@24343 4 VERSION="3.0.4"
pascal@19948 5 CATEGORY="graphics"
pascal@19948 6 SHORT_DESC="Full color painting software for illustration drawing."
pascal@19948 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19948 8 LICENSE="GPL3 BSD"
pascal@19948 9 WEB_SITE="https://osdn.net/projects/azpainter/"
Hans-G?nter@20734 10
Hans-G?nter@24343 11 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
Hans-G?nter@24343 12 WGET_URL="https://gitlab.com/azelpg/$PACKAGE/-/archive/v$VERSION/$TARBALL"
pascal@19948 13
pascal@24347 14 DEPENDS="fontconfig freetype libjpeg libpng libwebp tiff xorg-libX11
Hans-G?nter@22524 15 xorg-libXext xorg-libXi"
pascal@24347 16 BUILD_DEPENDS="fontconfig-dev freetype-dev libpng-dev jpeg-dev
Hans-G?nter@24345 17 libwebp-dev tiff-dev xorg-dev zlib-dev"
pascal@19948 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24383 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24440 22 sed '/-\/tags\//!d;s|.*">v*||;s|<.*||;q'
pascal@24055 23 }
pascal@24055 24
pascal@19948 25 # Rules to configure and make the package.
pascal@19948 26 compile_rules()
pascal@19948 27 {
Hans-G?nter@22524 28 ./configure \
Hans-G?nter@22524 29 --prefix=/usr \
pascal@24347 30 LIBS="-lz -ljpeg" &&
pascal@19948 31 make &&
Hans-G?nter@24343 32 make DESTDIR=$DESTDIR install
Hans-G?nter@24343 33 # < 3.0.3 make DESTDIR=$DESTDIR install-strip
pascal@19948 34 }
pascal@19948 35
pascal@19948 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19948 37 genpkg_rules()
pascal@19948 38 {
Hans-G?nter@24343 39 cp -a $install/usr $fs
Hans-G?nter@24343 40 rm -rf $fs/usr/share/doc
pascal@19948 41 }