wok rev 3791

Add python-ipy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 01 16:33:39 2009 +0200 (2009-08-01)
parents a97d2633b702
children 79eb1bd99d53
files python-ipy/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-ipy/receipt	Sat Aug 01 16:33:39 2009 +0200
     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 +