wok-next annotate python-ipy/receipt @ rev 17979
mtpaint: view external using GPicView, print image using Yad, view documentation online using TazWeb.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 18 17:02:44 2015 +0300 (2015-04-18) |
parents | fd4f1e692109 |
children | 16df76e1fc6a |
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@15378 | 8 LICENSE="BSD" |
pascal@3791 | 9 SOURCE="IPy" |
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@15378 | 14 DEPENDS="python" |
pascal@17742 | 15 BUILD_DEPENDS="python" |
pascal@15378 | 16 |
pascal@3791 | 17 # Rules to configure and make the package. |
pascal@3791 | 18 compile_rules() |
pascal@3791 | 19 { |
pascal@3791 | 20 python setup.py build |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
pascal@3791 | 22 } |
pascal@3791 | 23 |
pascal@3791 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3791 | 25 genpkg_rules() |
pascal@3791 | 26 { |
pascal@3791 | 27 mkdir -p $fs/usr |
pascal@15378 | 28 cp -a $install/usr/lib $fs/usr |
pascal@3791 | 29 } |