wok view mypaint/receipt @ rev 24867

updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author Hans-G?nter Theisgen
date Wed Mar 30 17:27:13 2022 +0100 (2022-03-30)
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 }