wok view libmypaint/receipt @ rev 24924

Add as & asxxxx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 13 10:27:34 2022 +0000 (2022-04-13)
parents 9d5f9f1ab1eb
children 586749a1a896
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 DEPENDS="libjson-c"
16 BUILD_DEPENDS="file libjson-c-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --enable-static &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files *.so*
41 }