wok annotate protobuf-python/receipt @ rev 24474
updated desktop-file-utils and desktop-file-utils-extra (0.24 -> 0.26)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 17:07:56 2022 +0100 (2022-02-17) |
parents | f1f58e8f3b0d |
children | e717a4953b0e |
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" |
pascal@24308 | 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 |
pascal@24308 | 18 # What is the latest version available today? |
pascal@24308 | 19 current_version() |
pascal@24308 | 20 { |
pascal@24308 | 21 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24308 | 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 23 } |
pascal@24308 | 24 |
slaxemulator@11344 | 25 # Rules to configure and make the package. |
slaxemulator@11344 | 26 compile_rules() |
slaxemulator@11344 | 27 { |
slaxemulator@11344 | 28 cd $src/python |
slaxemulator@11344 | 29 python setup.py install --prefix=/usr --root $DESTDIR |
slaxemulator@11344 | 30 } |
slaxemulator@11344 | 31 |
slaxemulator@11344 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11344 | 33 genpkg_rules() |
slaxemulator@11344 | 34 { |
slaxemulator@11344 | 35 cp -a $install/* $fs |
slaxemulator@11344 | 36 } |