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

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
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 }