wok view azdrawing/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months 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 }