wok-6.x view protobuf-python/receipt @ rev 12766
ecm: Sync with wok-tank. Add ecm-extras.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 12 11:12:53 2012 +0000 (2012-05-12) |
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 }