Commits

godane committed 583fcc0

Add python-netifaces. Its needed for tribler to work now.

Comments (0)

Files changed (2)

python-netifaces/receipt

+# SliTaz package receipt.
+
+PACKAGE="python-netifaces"
+VERSION="0.6"
+CATEGORY="development"
+SHORT_DESC="Portable module to access network interface information in Python."
+MAINTAINER="slaxemulator@gmail.com"
+LICENSE="MIT"
+WEB_SITE="http://alastairs-place.net/netifaces/"
+SOURCE="netifaces"
+TARBALL="$SOURCE-$VERSION.tar.gz"
+WGET_URL="http://alastairs-place.net/projects/netifaces/$TARBALL"
+
+DEPENDS="python"
+BUILD_DEPENDS="python-dev setuptools"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+	cd $src
+	python2 setup.py install --root "$DESTDIR"
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	cp -a $install/* $fs
+}
 TARBALL="${PACKAGE}_${VERSION}-1ubuntu1_all.deb"
 WGET_URL="http://dl.tribler.org/$TARBALL"
 
-DEPENDS="python wxpython python-m2crypto python-apsw"
+DEPENDS="python wxpython python-m2crypto python-apsw python-netifaces"
 
 # Rules to gen a SliTaz package suitable for Tazpkg.
 genpkg_rules()