wok-stable diff python-ipy/receipt @ rev 5154
slitaz-tools-boxes:add serverbox
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 24 06:44:20 2010 -0400 (2010-03-24) |
parents | |
children | ad786a87b22e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-ipy/receipt Wed Mar 24 06:44:20 2010 -0400 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-ipy" 1.7 +VERSION="0.63" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="IPy" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://software.inl.fr/trac/wiki/IPy" 1.14 +WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + python setup.py build 1.21 + python setup.py install --root=$PWD/_pkg 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr 1.28 + cp -a $_pkg/usr/lib $fs/usr 1.29 +} 1.30 +