wok-current annotate protobuf-python/receipt @ rev 25068

updated alsa-tools packages (1.1.5 -> 1.2.5)
author Hans-G?nter Theisgen
date Fri Jun 10 13:52:51 2022 +0100 (2022-06-10)
parents b569b85b0fb9
children 5926178cd6fa
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"
pascal@24975 13 WGET_URL="$WEB_SITE/archive/refs/tags/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 }