wok annotate protobuf-python/receipt @ rev 19404
Up openssh (7.3p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 09 12:06:28 2016 +0200 (2016-09-09) |
parents | 51a1ebbda768 |
children | 6135577f4d08 |
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 } |
al@18077 | 29 |