wok annotate python-netaddr/receipt @ rev 22483
updated antinat and antinat-dev (0.90 -> 0.91)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 30 16:44:40 2019 +0100 (2019-12-30) |
parents | 16df76e1fc6a |
children | b2368fbc39f8 |
rev | line source |
---|---|
pascal@14498 | 1 # SliTaz package receipt. |
pascal@14498 | 2 |
pascal@14498 | 3 PACKAGE="python-netaddr" |
pascal@14498 | 4 SOURCE="netaddr" |
pascal@14498 | 5 VERSION="0.7.10" |
pascal@14498 | 6 CATEGORY="development" |
pascal@14498 | 7 SHORT_DESC="A network address representation and manipulation library." |
pascal@14498 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
pascal@14498 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20669 | 11 WEB_SITE="https://github.com/drkjam/netaddr" |
pascal@14498 | 12 WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL" |
pankso@16477 | 13 HOST_ARCH="i486 arm" |
pascal@14498 | 14 |
pascal@15378 | 15 DEPENDS="python" |
pascal@15378 | 16 BUILD_DEPENDS="python-dev python wget" |
pascal@15378 | 17 |
pascal@14498 | 18 # Rules to configure and make the package. |
pascal@14498 | 19 compile_rules() |
pascal@14498 | 20 { |
pascal@14498 | 21 python setup.py build && |
pascal@14498 | 22 python setup.py install --root=$DESTDIR |
pascal@14498 | 23 } |
pascal@14498 | 24 |
pascal@14498 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14498 | 26 genpkg_rules() |
pascal@14498 | 27 { |
pascal@14498 | 28 mkdir -p $fs |
pascal@14498 | 29 cp -a $install/usr $fs |
pascal@14498 | 30 } |
al@18077 | 31 |