wok view azdrawing/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 1be16cc1cd50
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }