wok-current view libmypaint/receipt @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (6 months ago) |
parents | 586749a1a896 |
children |
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="https://web.archive.org/web/20230116050447/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 }