wok view azdrawing/receipt @ rev 24939
f2c: add libf2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 15 16:15:33 2022 +0000 (2022-04-15) |
parents | 1ab5f2d42d60 |
children | 1be16cc1cd50 |
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://acc.dl.osdn.jp/azdrawing/63500/$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 }