# SliTaz package receipt.

PACKAGE="python-ipy"
VERSION="0.63"
CATEGORY="development"
SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="IPy"
DEPENDS="python"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://software.inl.fr/trac/wiki/IPy"
WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py build
	python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/lib $fs/usr
}