wok-next annotate python-ipy/receipt @ rev 6705
Up: libsndfile to 1.0.23.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 22:01:19 2010 +0000 (2010-10-13) |
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 |