wok view mypaint/receipt @ rev 24665

updated incron (0.5.10 -> 0.5.12)
author Hans-G?nter Theisgen
date Fri Mar 11 14:57:00 2022 +0100 (2022-03-11)
parents 56ab00f400e9
children 9981cfce1dd8
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="http://download.gna.org/$PACKAGE/$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 }