# HG changeset patch # User Christophe Lincoln # Date 1351949037 -3600 # Node ID a16d86b1e8ae5e621ee3565e83623c83524bd6a0 # Parent f60a7befb1e79afeab6d891fbedb2d866b9372f5 Add: python-prettytable diff -r f60a7befb1e7 -r a16d86b1e8ae python-prettytable/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-prettytable/receipt Sat Nov 03 14:23:57 2012 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-prettytable" +VERSION="0.6.1" +SOURCE="prettytable" +CATEGORY="system-tools" +SHORT_DESC="Python library for easily displaying tabular data in ASCII." +MAINTAINER="pankso@slitaz.org" +TARBALL="${SOURCE}-${VERSION}.tar.bz2" +WEB_SITE="http://pypi.python.org/pypi/PrettyTable" +WGET_URL="http://pypi.python.org/packages/source/P/PrettyTable/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-dev python-distribute" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root="$DESTDIR" +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +}