wok-current annotate protobuf/receipt @ rev 21717

updated protobuf, protobuf-dev and protobuf-python again (2.4.1 -> 3.8.0)
author Hans-G?nter Theisgen
date Wed Jun 12 13:36:14 2019 +0100 (2019-06-12)
parents a7a6421d4dc4
children 0830d8859de8
rev   line source
pascal@11226 1 # SliTaz package receipt.
pascal@11226 2
pascal@11226 3 PACKAGE="protobuf"
Hans-G?nter@21715 4 VERSION="3.8.0"
pascal@11226 5 CATEGORY="network"
Hans-G?nter@21715 6 SHORT_DESC="Protocol buffers - Google's data interchange format."
pascal@11226 7 MAINTAINER="pankso@slitaz.org"
pascal@15375 8 LICENSE="BSD"
Hans-G?nter@21715 9 WEB_SITE="https://github.com/protocolbuffers/protobuf/"
Hans-G?nter@21715 10
Hans-G?nter@21715 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21715 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
Hans-G?nter@21715 13
Hans-G?nter@21715 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@21717 15 BUILD_DEPENDS="automake gcc83 libtool"
pascal@11226 16
pascal@11226 17 # Rules to configure and make the package.
pascal@11226 18 compile_rules()
pascal@11226 19 {
Hans-G?nter@21715 20 ./autogen.sh &&
Hans-G?nter@21715 21 ./configure \
Hans-G?nter@21715 22 CC=gcc-83 \
Hans-G?nter@21715 23 CXX=g++-83 \
Hans-G?nter@21715 24 --prefix=/usr \
pascal@11226 25 $CONFIGURE_ARGS &&
Hans-G?nter@21715 26 make &&
Hans-G?nter@21715 27 make install
pascal@11226 28 }
pascal@11226 29
pascal@11226 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11226 31 genpkg_rules()
pascal@11226 32 {
pascal@11226 33 mkdir -p $fs/usr/lib
Hans-G?nter@21715 34
Hans-G?nter@21715 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21715 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11226 37 }