wok annotate python-netifaces/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | |
children | fd4f1e692109 |
rev | line source |
---|---|
monghitri@13951 | 1 # SliTaz package receipt. |
monghitri@13951 | 2 |
monghitri@13951 | 3 PACKAGE="python-netifaces" |
monghitri@13951 | 4 VERSION="0.8" |
monghitri@13951 | 5 CATEGORY="development" |
monghitri@13951 | 6 SHORT_DESC="Portable access to network interfaces from Python." |
monghitri@13951 | 7 MAINTAINER="monghitri@aruba.it" |
monghitri@13951 | 8 SOURCE="netifaces" |
monghitri@13951 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
monghitri@13951 | 10 WEB_SITE="http://alastairs-place.net/projects/netifaces/" |
monghitri@13951 | 11 WGET_URL="http://alastairs-place.net/projects/$SOURCE/$TARBALL" |
monghitri@13951 | 12 DEPENDS="python" |
monghitri@13951 | 13 BUILD_DEPENDS="python setuptools" |
monghitri@13951 | 14 |
monghitri@13951 | 15 # Rules to configure and make the package. |
monghitri@13951 | 16 compile_rules() |
monghitri@13951 | 17 { |
monghitri@13951 | 18 cd $src |
monghitri@13951 | 19 python setup.py install --root=$DESTDIR |
monghitri@13951 | 20 } |
monghitri@13951 | 21 |
monghitri@13951 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13951 | 23 genpkg_rules() |
monghitri@13951 | 24 { |
monghitri@13951 | 25 cp -a $install/usr $fs |
monghitri@13951 | 26 } |