wok-current annotate protobuf-python/receipt @ rev 23611
updated re2c (1.2.1 -> 1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 06:45:07 2020 +0100 (2020-04-14) |
parents | d2d5d001c23f |
children | b569b85b0fb9 |
rev | line source |
---|---|
slaxemulator@11344 | 1 # SliTaz package receipt. |
slaxemulator@11344 | 2 |
slaxemulator@11344 | 3 PACKAGE="protobuf-python" |
Hans-G?nter@23449 | 4 VERSION="3.11.4" |
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 } |