wok-6.x annotate protobuf-python/receipt @ rev 23223
hplip: inserted include statement
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 23 15:59:35 2020 +0100 (2020-03-23) |
parents | 42feee1f9a23 |
children | f1f58e8f3b0d |
rev | line source |
---|---|
slaxemulator@11344 | 1 # SliTaz package receipt. |
slaxemulator@11344 | 2 |
slaxemulator@11344 | 3 PACKAGE="protobuf-python" |
Hans-G?nter@21715 | 4 VERSION="3.8.0" |
slaxemulator@11344 | 5 CATEGORY="network" |
Hans-G?nter@21715 | 6 SHORT_DESC="Protocol buffers - Google's data interchange format (python)." |
slaxemulator@11344 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15375 | 8 LICENSE="BSD" |
Hans-G?nter@21715 | 9 WEB_SITE="https://github.com/protocolbuffers/protobuf/" |
Hans-G?nter@21715 | 10 |
slaxemulator@11344 | 11 SOURCE="protobuf" |
Hans-G?nter@21715 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@21715 | 13 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" |
slaxemulator@11344 | 14 |
Hans-G?nter@21715 | 15 DEPENDS="protobuf python" |
Hans-G?nter@21718 | 16 BUILD_DEPENDS="libatomic protobuf-dev python-dev python-setuptools" |
slaxemulator@11344 | 17 |
slaxemulator@11344 | 18 # Rules to configure and make the package. |
slaxemulator@11344 | 19 compile_rules() |
slaxemulator@11344 | 20 { |
slaxemulator@11344 | 21 cd $src/python |
slaxemulator@11344 | 22 python setup.py install --prefix=/usr --root $DESTDIR |
slaxemulator@11344 | 23 } |
slaxemulator@11344 | 24 |
slaxemulator@11344 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11344 | 26 genpkg_rules() |
slaxemulator@11344 | 27 { |
slaxemulator@11344 | 28 cp -a $install/* $fs |
slaxemulator@11344 | 29 } |