wok-next view mypaint/receipt @ rev 21107
Restore Perl modules removed accidentally in commit 19709
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 07 11:16:02 2019 +0200 (2019-01-07) |
parents | d5aab818505e |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://mypaint.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python-numpy protobuf-python python-pygtk-dev protobuf-dev \
15 python-dev scons2 swig gettext"
17 compile_rules() {
18 scons &&
19 scons prefix=$install/usr install || return 1
21 find $install -type f -name '*.so*' -exec chmod 755 '{}' \; # 644->755
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr/share
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/share/mypaint $fs/usr/share
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/share/icons $fs/usr/share
30 DEPENDS="python-pygtk python-numpy protobuf-python"
31 }