wok-6.x view protobuf-python/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | d2d5d001c23f |
children | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="protobuf-python"
4 VERSION="3.11.4"
5 CATEGORY="network"
6 SHORT_DESC="Protocol buffers - Google's data interchange format (python)."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/protocolbuffers/protobuf/"
11 SOURCE="protobuf"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
15 DEPENDS="protobuf python"
16 BUILD_DEPENDS="libatomic protobuf-dev python-dev python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/python
22 python setup.py install --prefix=/usr --root $DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 }