wok-6.x diff python-ipy/receipt @ rev 17102

Add iptstate
author Paul Issott <paul@slitaz.org>
date Fri Aug 29 20:58:08 2014 +0100 (2014-08-29)
parents ad786a87b22e
children c0f78f4c829d
line diff
     1.1 --- a/python-ipy/receipt	Tue Mar 01 16:28:33 2011 +0100
     1.2 +++ b/python-ipy/receipt	Fri Aug 29 20:58:08 2014 +0100
     1.3 @@ -5,24 +5,26 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="BSD"
     1.8  SOURCE="IPy"
     1.9 -DEPENDS="python"
    1.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://software.inl.fr/trac/wiki/IPy"
    1.12  WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"
    1.13  
    1.14 +DEPENDS="python"
    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 +	python setup.py install --root=$DESTDIR
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28  	mkdir -p $fs/usr
    1.29 -	cp -a $_pkg/usr/lib $fs/usr
    1.30 +	cp -a $install/usr/lib $fs/usr
    1.31  }
    1.32