wok view mypaint/receipt @ rev 25555

Up gsoap (2.8.127)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 19 10:00:25 2023 +0000 (19 months ago)
parents 9981cfce1dd8
children
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="https://web.archive.org/web/20230116050447/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 }