wok-current view azpainter/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (22 months ago) |
parents | 076f424196b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="azpainter"
4 VERSION="3.0.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Full color painting software for illustration drawing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 BSD"
9 WEB_SITE="https://osdn.net/projects/azpainter/"
11 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
12 WGET_URL="https://gitlab.com/azelpg/$PACKAGE/-/archive/v$VERSION/$TARBALL"
14 DEPENDS="fontconfig freetype libjpeg libpng libwebp tiff xorg-libX11
15 xorg-libXext xorg-libXi"
16 BUILD_DEPENDS="fontconfig-dev freetype-dev libpng-dev jpeg-dev
17 libwebp-dev tiff-dev xorg-dev zlib-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/-\/tags\//!d;s|.*">v*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 LIBS="-lz -ljpeg" &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 # < 3.0.3 make DESTDIR=$DESTDIR install-strip
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 rm -rf $fs/usr/share/doc
41 }