wok-6.x view python-ipy/receipt @ rev 16595

speedcrunch: do not fail when ./build exists
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 08:07:35 2014 +0000 (2014-05-07)
parents ad786a87b22e
children c0f78f4c829d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ipy"
4 VERSION="0.63"
5 CATEGORY="development"
6 SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="IPy"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://software.inl.fr/trac/wiki/IPy"
12 WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"
14 DEPENDS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build
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 }