wok-current annotate python-prettytable/receipt @ rev 14969
Up: firefox-langpack-it (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:20:01 2013 +0200 (2013-08-08) |
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 } |