wok-6.x view mypaint/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 241fb98cab1c |
children | c3a6f662a1c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mypaint"
4 VERSION="1.0.0"
5 CATEGORY="graphics"
6 SHORT_DESC="A fast and easy painting application for digital painters, with brush dynamics"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://mypaint.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://github.com/mypaint/mypaint/releases/download/v$VERSION/$TARBALL"
13 DEPENDS="pygtk python-numpy protobuf-python"
14 BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/MyPaint-[0-9]/!d;s|.*MyPaint-||;s|-release.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 scons
27 scons prefix=$DESTDIR/usr install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/mypaint $fs/usr/share
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/icons $fs/usr/share
38 }