wok view azdrawing/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents b01314c762e9
children 343c093ad221
line source
1 # SliTaz package receipt.
3 PACKAGE="azdrawing"
4 VERSION="1.5"
5 CATEGORY="graphics"
6 SHORT_DESC="A painting software for line drawings and monochrome cartoons."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://osdn.net/projects/azdrawing/"
11 WGET_URL="http://azsky2.html.xdomain.jp/arc/$TARBALL"
13 DEPENDS="xorg-libX11 xorg-libXext xorg-libXi xorg-libXft freetype fontconfig \
14 libjpeg-turbo"
15 BUILD_DEPENDS="xorg-dev freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/andeon/azdrawing/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -e "s|/usr/local|$DESTDIR/usr|;s|\$(MACRO) ||" \
28 -e '/gtk-update-icon-cache/d' -i Makefile
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }