wok-current rev 11344
Add protobuf-python.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 26 12:39:47 2011 +0000 (2011-11-26) |
parents | 1eb68c7a749e |
children | ad0b23f0fdd8 |
files | protobuf-python/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/protobuf-python/receipt Sat Nov 26 12:39:47 2011 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="protobuf-python" 1.7 +VERSION="2.4.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Encode structured data in an efficient yet extensible format.(python)" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +WEB_SITE="http://code.google.com/p/protobuf/" 1.12 +SOURCE="protobuf" 1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.14 +WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" 1.15 + 1.16 +DEPENDS="python protobuf" 1.17 +BUILD_DEPENDS="protobuf-dev python-dev setuptools" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/python 1.23 + python setup.py install --prefix=/usr --root $DESTDIR 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $install/* $fs 1.30 +}