wok-6.x annotate python-ipy/receipt @ rev 10599

parole: fix bdeps and clean
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 15:26:37 2011 +0200 (2011-05-26)
parents a37eeb3e2802
children fd4f1e692109
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@8938 9 DEPENDS="python"
pascal@3791 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@3791 11 WEB_SITE="http://software.inl.fr/trac/wiki/IPy"
pascal@3791 12 WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"
pascal@3791 13
pascal@3791 14 # Rules to configure and make the package.
pascal@3791 15 compile_rules()
pascal@3791 16 {
pascal@3791 17 cd $src
pascal@3791 18 python setup.py build
pascal@3791 19 python setup.py install --root=$PWD/_pkg
pascal@3791 20 }
pascal@3791 21
pascal@3791 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3791 23 genpkg_rules()
pascal@3791 24 {
pascal@3791 25 mkdir -p $fs/usr
pascal@3791 26 cp -a $_pkg/usr/lib $fs/usr
pascal@3791 27 }
pascal@3791 28