wok view libmypaint/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents cc97ba804eb3
children c3a6f662a1c1
line source
1 # SliTaz package receipt.
3 PACKAGE="libmypaint"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 TAGS="paint"
7 SHORT_DESC="Library for making brushstrokes which is used by MyPaint and other projects."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="ISC"
10 WEB_SITE="http://mypaint.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 SUGGESTED="libmypaint-lang"
16 DEPENDS="libjson-c"
17 BUILD_DEPENDS="file libjson-c-dev"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --enable-static &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so*
42 }