wok view mypaint/receipt @ rev 25000
updated nms (0.3.3 -> 1.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 13:53:18 2022 +0100 (2022-05-16) |
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 }