wok annotate python-urwid/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 26f251d80c76 |
children | 7390f8de9846 |
rev | line source |
---|---|
paul@5239 | 1 # SliTaz package receipt. |
paul@5239 | 2 |
paul@5239 | 3 PACKAGE="python-urwid" |
paul@13663 | 4 VERSION="1.1.1" |
paul@5239 | 5 CATEGORY="development" |
paul@5239 | 6 SHORT_DESC="Console user interface library for Python." |
paul@5239 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
paul@5239 | 9 SOURCE="urwid" |
paul@5239 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@5239 | 11 WEB_SITE="http://excess.org/urwid/" |
paul@5239 | 12 WGET_URL="http://excess.org/urwid/$TARBALL" |
paul@5239 | 13 |
pascal@14996 | 14 DEPENDS="python" |
pascal@14996 | 15 BUILD_DEPENDS="python python-dev" |
pascal@14996 | 16 |
paul@5239 | 17 # Rules to configure and make the package. |
paul@5239 | 18 compile_rules() |
paul@5239 | 19 { |
paul@5239 | 20 cd $src |
paul@13663 | 21 python setup.py install --root=$DESTDIR |
paul@5239 | 22 } |
paul@5239 | 23 |
paul@5239 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5239 | 25 genpkg_rules() |
paul@5239 | 26 { |
paul@13663 | 27 cp -a $install/usr $fs |
paul@5239 | 28 } |
paul@5239 | 29 |