wok annotate python-netaddr/receipt @ rev 15197

Add ncftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 04 09:30:00 2013 +0000 (2013-09-04)
parents
children fd4f1e692109
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@14498 9 DEPENDS="python"
pascal@14498 10 BUILD_DEPENDS="python-dev python wget"
pascal@14498 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@14498 12 WEB_SITE="http://github.com/drkjam/netaddr"
pascal@14498 13 WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL"
pascal@14498 14
pascal@14498 15 # Rules to configure and make the package.
pascal@14498 16 compile_rules()
pascal@14498 17 {
pascal@14498 18 cd $src
pascal@14498 19 python setup.py build &&
pascal@14498 20 python setup.py install --root=$DESTDIR
pascal@14498 21 }
pascal@14498 22
pascal@14498 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14498 24 genpkg_rules()
pascal@14498 25 {
pascal@14498 26 mkdir -p $fs
pascal@14498 27 cp -a $install/usr $fs
pascal@14498 28 }