wok-6.x view protobuf-python/receipt @ rev 17986
Up to latest: tazinst-gui, tazinst
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 21 22:28:34 2015 +0200 (2015-04-21) |
parents | 7913d14b40f1 |
children | 16df76e1fc6a |
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 LICENSE="BSD"
9 WEB_SITE="http://code.google.com/p/protobuf/"
10 SOURCE="protobuf"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
14 DEPENDS="python protobuf"
15 BUILD_DEPENDS="protobuf-dev python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/python
21 python setup.py install --prefix=/usr --root $DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/* $fs
28 }