wok-current view azdrawing/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 months ago) |
parents | b01314c762e9 |
children |
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 }