wok-current annotate python-prettytable/receipt @ rev 13568
Add: python-prettytable
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 03 14:23:57 2012 +0100 (2012-11-03) |
parents | |
children | fd4f1e692109 |
rev | line source |
---|---|
pankso@13568 | 1 # SliTaz package receipt. |
pankso@13568 | 2 |
pankso@13568 | 3 PACKAGE="python-prettytable" |
pankso@13568 | 4 VERSION="0.6.1" |
pankso@13568 | 5 SOURCE="prettytable" |
pankso@13568 | 6 CATEGORY="system-tools" |
pankso@13568 | 7 SHORT_DESC="Python library for easily displaying tabular data in ASCII." |
pankso@13568 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@13568 | 9 TARBALL="${SOURCE}-${VERSION}.tar.bz2" |
pankso@13568 | 10 WEB_SITE="http://pypi.python.org/pypi/PrettyTable" |
pankso@13568 | 11 WGET_URL="http://pypi.python.org/packages/source/P/PrettyTable/$TARBALL" |
pankso@13568 | 12 |
pankso@13568 | 13 DEPENDS="python" |
pankso@13568 | 14 BUILD_DEPENDS="python-dev python-distribute" |
pankso@13568 | 15 |
pankso@13568 | 16 # Rules to configure and make the package. |
pankso@13568 | 17 compile_rules() |
pankso@13568 | 18 { |
pankso@13568 | 19 cd $src |
pankso@13568 | 20 python setup.py install --root="$DESTDIR" |
pankso@13568 | 21 } |
pankso@13568 | 22 |
pankso@13568 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13568 | 24 genpkg_rules() |
pankso@13568 | 25 { |
pankso@13568 | 26 mkdir -p $fs/usr |
pankso@13568 | 27 cp -a $install/usr/lib $fs/usr |
pankso@13568 | 28 } |