wok-6.x view mypaint-brushes/receipt @ rev 25313
updated smplayer (20.6.0 -> 22.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 17:42:27 2022 +0100 (2022-07-20) |
parents | 586749a1a896 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mypaint-brushes"
4 VERSION="2.0.2"
5 CATEGORY="graphics"
6 SHORT_DESC="Brushes used by MyPaint and other software using libmypaint."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="CC0"
9 WEB_SITE="https://github.com/mypaint/mypaint-brushes"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/releases*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;/v[0-9]/!d;s|.*/v*\(.*\).tar.*|\1|' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf -i &&
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 --localstatedir=/var &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cook_copy_folders mypaint-data
42 cp -a $install/usr/share/pkgconfig $fs/usr/lib
43 }