wok-6.x annotate pyroom/receipt @ rev 20445
Add python-singledispatch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 20 12:59:25 2018 +0200 (2018-09-20) |
parents | d3eb5f4b53ea |
children | a78610b2eb47 |
rev | line source |
---|---|
paul@3943 | 1 # SliTaz package receipt. |
paul@3943 | 2 |
paul@3943 | 3 PACKAGE="pyroom" |
paul@3943 | 4 VERSION="0.4.1" |
paul@3943 | 5 CATEGORY="office" |
paul@3943 | 6 SHORT_DESC="Full screen editor." |
paul@3943 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15376 | 8 LICENSE="GPL3" |
paul@3943 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3943 | 10 WEB_SITE="http://pyroom.org/" |
pascal@17869 | 11 WGET_URL="http://launchpad.net/pyroom/${VERSION%.*}/$VERSION/+download/$TARBALL" |
paul@3943 | 12 |
pascal@15376 | 13 DEPENDS="python pygtk python-xdg libffi" |
pascal@15376 | 14 BUILD_DEPENDS="python python-dev gettext" |
pascal@15376 | 15 |
paul@3943 | 16 # Rules to configure and make the package. |
paul@3943 | 17 compile_rules() |
paul@3943 | 18 { |
paul@3943 | 19 python setup.py build && |
pascal@15376 | 20 python setup.py install --root=$DESTDIR |
paul@3943 | 21 } |
paul@3943 | 22 |
paul@3943 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3943 | 24 genpkg_rules() |
paul@3943 | 25 { |
paul@3944 | 26 mkdir -p $fs |
pascal@15376 | 27 cp -a $install/usr $fs |
paul@3943 | 28 } |
al@18077 | 29 |