wok view python-netaddr/receipt @ rev 15099

tty-clock: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 12:20:24 2013 +0000 (2013-08-14)
parents
children fd4f1e692109
line source
1 # SliTaz package receipt.
3 PACKAGE="python-netaddr"
4 SOURCE="netaddr"
5 VERSION="0.7.10"
6 CATEGORY="development"
7 SHORT_DESC="A network address representation and manipulation library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 DEPENDS="python"
10 BUILD_DEPENDS="python-dev python wget"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://github.com/drkjam/netaddr"
13 WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $install/usr $fs
28 }