wok view python-prettytable/receipt @ rev 17393

opus: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 27 16:05:28 2014 +0100 (2014-11-27)
parents a16d86b1e8ae
children 28580bc4a7da
line source
1 # SliTaz package receipt.
3 PACKAGE="python-prettytable"
4 VERSION="0.6.1"
5 SOURCE="prettytable"
6 CATEGORY="system-tools"
7 SHORT_DESC="Python library for easily displaying tabular data in ASCII."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="${SOURCE}-${VERSION}.tar.bz2"
11 WEB_SITE="http://pypi.python.org/pypi/PrettyTable"
12 WGET_URL="http://pypi.python.org/packages/source/P/PrettyTable/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-distribute"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root="$DESTDIR"
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }