wok-6.x view protobuf-python/receipt @ rev 14203
linux-libre: fix check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 10:38:19 2013 +0100 (2013-03-14) |
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 }