# HG changeset patch # User Pascal Bellard # Date 1249137219 -7200 # Node ID a37eeb3e2802fe5e6d3b835c36f63ac62f60d16f # Parent a97d2633b702a0bee1909e5a01bb5d82fecfffa8 Add python-ipy diff -r a97d2633b702 -r a37eeb3e2802 python-ipy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ipy/receipt Sat Aug 01 16:33:39 2009 +0200 @@ -0,0 +1,27 @@ +# 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" +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 +} +