wok annotate protobuf-python/receipt @ rev 15649
Up: hubbub (0.1.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 10 16:06:02 2013 +0000 (2013-12-10) |
parents | 7913d14b40f1 |
children | 16df76e1fc6a |
rev | line source |
---|---|
slaxemulator@11344 | 1 # SliTaz package receipt. |
slaxemulator@11344 | 2 |
slaxemulator@11344 | 3 PACKAGE="protobuf-python" |
slaxemulator@11344 | 4 VERSION="2.4.1" |
slaxemulator@11344 | 5 CATEGORY="network" |
slaxemulator@11344 | 6 SHORT_DESC="Encode structured data in an efficient yet extensible format.(python)" |
slaxemulator@11344 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15375 | 8 LICENSE="BSD" |
slaxemulator@11344 | 9 WEB_SITE="http://code.google.com/p/protobuf/" |
slaxemulator@11344 | 10 SOURCE="protobuf" |
slaxemulator@11344 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@11344 | 12 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" |
slaxemulator@11344 | 13 |
slaxemulator@11344 | 14 DEPENDS="python protobuf" |
slaxemulator@11344 | 15 BUILD_DEPENDS="protobuf-dev python-dev setuptools" |
slaxemulator@11344 | 16 |
slaxemulator@11344 | 17 # Rules to configure and make the package. |
slaxemulator@11344 | 18 compile_rules() |
slaxemulator@11344 | 19 { |
slaxemulator@11344 | 20 cd $src/python |
slaxemulator@11344 | 21 python setup.py install --prefix=/usr --root $DESTDIR |
slaxemulator@11344 | 22 } |
slaxemulator@11344 | 23 |
slaxemulator@11344 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11344 | 25 genpkg_rules() |
slaxemulator@11344 | 26 { |
slaxemulator@11344 | 27 cp -a $install/* $fs |
slaxemulator@11344 | 28 } |