wok view python-netaddr/receipt @ rev 15806
Up: sudoku to 2.3. Fixed WEB_SITE and WGET_URL so we get the app and not a error page.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 24 01:35:01 2014 +0000 (2014-01-24) |
parents | 709aac634c27 |
children | 7d672a2330b8 |
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 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://github.com/drkjam/netaddr"
12 WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }