# HG changeset patch # User Christophe Lincoln # Date 1262626828 -3600 # Node ID 3e91cc4a0bfaa06ecfb752e35ddafb43a2a2c361 # Parent 6beec4c5353bcd80d3f280ec90c21cf24212eafa Add: python-pyprotocols (PEP 246 and a whole lot more) diff -r 6beec4c5353b -r 3e91cc4a0bfa python-pyprotocols/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyprotocols/receipt Mon Jan 04 18:40:28 2010 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-pyprotocols" +VERSION="0.9.3" +CATEGORY="development" +SHORT_DESC="PEP 246 and a whole lot more." +MAINTAINER="pankso@slitaz.org" +SOURCE="PyProtocols" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://peak.telecommunity.com/PyProtocols.html" +WGET_URL="http://peak.telecommunity.com/dist/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +TAGS="python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +}