wok-6.x view azpainter/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 06698973c2dd |
children | 2d5e684a8df9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="azpainter"
4 VERSION="2.1.5"
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.gz"
12 WGET_URL="https://github.com/Symbian9/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="fontconfig freetype libjpeg-turbo libpng xorg-libX11
15 xorg-libXext xorg-libXi"
16 BUILD_DEPENDS="fontconfig-dev freetype-dev libjpeg-turbo-dev
17 libpng-dev xorg-dev zlib-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install-strip
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }