wok-6.x view python-urwid/receipt @ rev 13299

dukto: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 14:08:54 2012 +0200 (2012-08-28)
parents c380ac052603
children 26f251d80c76
line source
1 # SliTaz package receipt.
3 PACKAGE="python-urwid"
4 VERSION="1.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Console user interface library for Python."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="python python-dev"
10 SOURCE="urwid"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://excess.org/urwid/"
13 WGET_URL="http://excess.org/urwid/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }