wok-next annotate python-ipy/receipt @ 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
children ad786a87b22e
rev   line source
pascal@3791 1 # SliTaz package receipt.
pascal@3791 2
pascal@3791 3 PACKAGE="python-ipy"
pascal@3791 4 VERSION="0.63"
pascal@3791 5 CATEGORY="development"
pascal@3791 6 SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks."
pascal@3791 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3791 8 SOURCE="IPy"
pascal@3791 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@3791 10 WEB_SITE="http://software.inl.fr/trac/wiki/IPy"
pascal@3791 11 WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"
pascal@3791 12
pascal@3791 13 # Rules to configure and make the package.
pascal@3791 14 compile_rules()
pascal@3791 15 {
pascal@3791 16 cd $src
pascal@3791 17 python setup.py build
pascal@3791 18 python setup.py install --root=$PWD/_pkg
pascal@3791 19 }
pascal@3791 20
pascal@3791 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3791 22 genpkg_rules()
pascal@3791 23 {
pascal@3791 24 mkdir -p $fs/usr
pascal@3791 25 cp -a $_pkg/usr/lib $fs/usr
pascal@3791 26 }
pascal@3791 27