wok view libmypaint/receipt @ rev 24936

created recipe for mypaint-brushes
author Hans-G?nter Theisgen
date Thu Apr 14 09:08:33 2022 +0100 (2022-04-14)
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 }