wok-6.x annotate python-prettytable/receipt @ rev 17448
Add Qcad 2D CAD application
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 14 10:13:18 2014 +0100 (2014-12-14) |
parents | a16d86b1e8ae |
children | 28580bc4a7da |
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" |
pascal@15378 | 9 LICENSE="BSD" |
pankso@13568 | 10 TARBALL="${SOURCE}-${VERSION}.tar.bz2" |
pankso@13568 | 11 WEB_SITE="http://pypi.python.org/pypi/PrettyTable" |
pankso@13568 | 12 WGET_URL="http://pypi.python.org/packages/source/P/PrettyTable/$TARBALL" |
pankso@13568 | 13 |
pankso@13568 | 14 DEPENDS="python" |
pankso@13568 | 15 BUILD_DEPENDS="python-dev python-distribute" |
pankso@13568 | 16 |
pankso@13568 | 17 # Rules to configure and make the package. |
pankso@13568 | 18 compile_rules() |
pankso@13568 | 19 { |
pankso@13568 | 20 cd $src |
pankso@13568 | 21 python setup.py install --root="$DESTDIR" |
pankso@13568 | 22 } |
pankso@13568 | 23 |
pankso@13568 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13568 | 25 genpkg_rules() |
pankso@13568 | 26 { |
pankso@13568 | 27 mkdir -p $fs/usr |
pankso@13568 | 28 cp -a $install/usr/lib $fs/usr |
pankso@13568 | 29 } |