wok-next annotate python-urwid/receipt @ rev 9284
perl-net-ftp: unblock compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 10:03:27 2011 +0100 (2011-03-16) |
parents | |
children | 28118660ac22 |
rev | line source |
---|---|
paul@5239 | 1 # SliTaz package receipt. |
paul@5239 | 2 |
paul@5239 | 3 PACKAGE="python-urwid" |
paul@5239 | 4 VERSION="0.9.9.1" |
paul@5239 | 5 CATEGORY="development" |
paul@5239 | 6 SHORT_DESC="Console user interface library for Python." |
paul@5239 | 7 MAINTAINER="paul@slitaz.org" |
paul@5239 | 8 DEPENDS="python" |
paul@5239 | 9 BUILD_DEPENDS="python python-dev" |
paul@5239 | 10 SOURCE="urwid" |
paul@5239 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@5239 | 12 WEB_SITE="http://excess.org/urwid/" |
paul@5239 | 13 WGET_URL="http://excess.org/urwid/$TARBALL" |
paul@5239 | 14 |
paul@5239 | 15 # Rules to configure and make the package. |
paul@5239 | 16 compile_rules() |
paul@5239 | 17 { |
paul@5239 | 18 cd $src |
paul@5239 | 19 python setup.py install --root=$PWD/_pkg |
paul@5239 | 20 } |
paul@5239 | 21 |
paul@5239 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5239 | 23 genpkg_rules() |
paul@5239 | 24 { |
paul@5239 | 25 cp -a $_pkg/usr $fs |
paul@5239 | 26 } |
paul@5239 | 27 |