# HG changeset patch # User ernia # Date 1359493429 0 # Node ID 31ec2f4226ad80f4616cdbe9f514a1ee77fbb743 # Parent ab4d2936d8219047676e11084951a3513346009e add python netifaces diff -r ab4d2936d821 -r 31ec2f4226ad python-netifaces/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-netifaces/receipt Tue Jan 29 21:03:49 2013 +0000 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="python-netifaces" +VERSION="0.8" +CATEGORY="development" +SHORT_DESC="Portable access to network interfaces from Python." +MAINTAINER="monghitri@aruba.it" +SOURCE="netifaces" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://alastairs-place.net/projects/netifaces/" +WGET_URL="http://alastairs-place.net/projects/$SOURCE/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}