wok view python-ipy/receipt @ rev 9054
amule: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:38:47 2011 +0100 (2011-03-04) |
parents | a37eeb3e2802 |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ipy"
4 VERSION="0.63"
5 CATEGORY="development"
6 SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="IPy"
9 DEPENDS="python"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://software.inl.fr/trac/wiki/IPy"
12 WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 }