wok-current view protobuf-python/receipt @ rev 14501

python-mock: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 11 18:03:27 2013 +0200 (2013-05-11)
parents
children 51a1ebbda768
line source
1 # SliTaz package receipt.
3 PACKAGE="protobuf-python"
4 VERSION="2.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Encode structured data in an efficient yet extensible format.(python)"
7 MAINTAINER="slaxemulator@gmail.com"
8 WEB_SITE="http://code.google.com/p/protobuf/"
9 SOURCE="protobuf"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
13 DEPENDS="python protobuf"
14 BUILD_DEPENDS="protobuf-dev python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/python
20 python setup.py install --prefix=/usr --root $DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 }