wok-6.x annotate mypaint/receipt @ rev 25233
updated python-requests (2.23.0 -> 2.27.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:27:05 2022 +0100 (2022-07-13) |
parents | 241fb98cab1c |
children | c3a6f662a1c1 |
rev | line source |
---|---|
devl547@11337 | 1 # SliTaz package receipt. |
devl547@11337 | 2 |
devl547@11337 | 3 PACKAGE="mypaint" |
devl547@11337 | 4 VERSION="1.0.0" |
devl547@11337 | 5 CATEGORY="graphics" |
devl547@11337 | 6 SHORT_DESC="A fast and easy painting application for digital painters, with brush dynamics" |
devl547@11337 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@21756 | 9 WEB_SITE="http://mypaint.org/" |
devl547@11337 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24990 | 11 WGET_URL="https://github.com/mypaint/mypaint/releases/download/v$VERSION/$TARBALL" |
devl547@11337 | 12 |
devl547@11337 | 13 DEPENDS="pygtk python-numpy protobuf-python" |
devl547@11337 | 14 BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig" |
devl547@11337 | 15 |
pascal@24453 | 16 # What is the latest version available today? |
pascal@24453 | 17 current_version() |
pascal@24453 | 18 { |
pascal@24453 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24453 | 20 sed '/MyPaint-[0-9]/!d;s|.*MyPaint-||;s|-release.*||;q' |
pascal@24453 | 21 } |
pascal@24453 | 22 |
devl547@11337 | 23 # Rules to configure and make the package. |
devl547@11337 | 24 compile_rules() |
devl547@11337 | 25 { |
devl547@11337 | 26 scons |
devl547@11337 | 27 scons prefix=$DESTDIR/usr install |
devl547@11337 | 28 } |
devl547@11337 | 29 |
devl547@11337 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11337 | 31 genpkg_rules() |
devl547@11337 | 32 { |
devl547@11337 | 33 mkdir -p $fs/usr/share |
devl547@11337 | 34 cp -a $install/usr/bin $fs/usr |
devl547@11337 | 35 cp -a $install/usr/share/mypaint $fs/usr/share |
devl547@11337 | 36 cp -a $install/usr/lib $fs/usr |
devl547@11337 | 37 cp -a $install/usr/share/icons $fs/usr/share |
devl547@11337 | 38 } |