wok annotate python-netifaces/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents 31ec2f4226ad
children 14154392a2a1
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"
pascal@15378 8 LICENSE="MIT"
monghitri@13951 9 SOURCE="netifaces"
monghitri@13951 10 TARBALL="$SOURCE-$VERSION.tar.gz"
monghitri@13951 11 WEB_SITE="http://alastairs-place.net/projects/netifaces/"
monghitri@13951 12 WGET_URL="http://alastairs-place.net/projects/$SOURCE/$TARBALL"
pascal@15378 13
monghitri@13951 14 DEPENDS="python"
monghitri@13951 15 BUILD_DEPENDS="python setuptools"
monghitri@13951 16
monghitri@13951 17 # Rules to configure and make the package.
monghitri@13951 18 compile_rules()
monghitri@13951 19 {
monghitri@13951 20 cd $src
monghitri@13951 21 python setup.py install --root=$DESTDIR
monghitri@13951 22 }
monghitri@13951 23
monghitri@13951 24 # Rules to gen a SliTaz package suitable for Tazpkg.
monghitri@13951 25 genpkg_rules()
monghitri@13951 26 {
monghitri@13951 27 cp -a $install/usr $fs
monghitri@13951 28 }