wok-next annotate python-ipy/receipt @ rev 12785
dia: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 15 11:32:14 2012 +0200 (2012-05-15) |
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 |