wok-next annotate protobuf-python/receipt @ rev 12444
openconnect: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 18:23:52 2012 +0200 (2012-04-21) |
parents | |
children | 51a1ebbda768 |
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" |
slaxemulator@11344 | 8 WEB_SITE="http://code.google.com/p/protobuf/" |
slaxemulator@11344 | 9 SOURCE="protobuf" |
slaxemulator@11344 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@11344 | 11 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" |
slaxemulator@11344 | 12 |
slaxemulator@11344 | 13 DEPENDS="python protobuf" |
slaxemulator@11344 | 14 BUILD_DEPENDS="protobuf-dev python-dev setuptools" |
slaxemulator@11344 | 15 |
slaxemulator@11344 | 16 # Rules to configure and make the package. |
slaxemulator@11344 | 17 compile_rules() |
slaxemulator@11344 | 18 { |
slaxemulator@11344 | 19 cd $src/python |
slaxemulator@11344 | 20 python setup.py install --prefix=/usr --root $DESTDIR |
slaxemulator@11344 | 21 } |
slaxemulator@11344 | 22 |
slaxemulator@11344 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11344 | 24 genpkg_rules() |
slaxemulator@11344 | 25 { |
slaxemulator@11344 | 26 cp -a $install/* $fs |
slaxemulator@11344 | 27 } |