wok rev 21715

updated protobuf, protobuf-dev and protobuf-python (2.4.1 -> 3.8.0)
author Hans-G?nter Theisgen
date Wed Jun 12 13:25:36 2019 +0100 (23 months ago)
parents 0451e4c7bc79
children dcdfcafe039a
files protobuf-dev/receipt protobuf-python/receipt protobuf/receipt
line diff
     1.1 --- a/protobuf-dev/receipt	Sun Jun 09 15:06:40 2019 +0100
     1.2 +++ b/protobuf-dev/receipt	Wed Jun 12 13:25:36 2019 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="protobuf-dev"
     1.7 -VERSION="2.4.1"
     1.8 +VERSION="3.8.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Devel files for protobuf."
    1.11 +SHORT_DESC="Protocol buffers - Google's data interchange format, development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -WEB_SITE="https://developers.google.com/protocol-buffers/"
    1.15 -WANTED="protobuf"
    1.16 +WEB_SITE="https://github.com/protocolbuffers/protobuf/"
    1.17  
    1.18  DEPENDS="protobuf pkg-config"
    1.19 +WANTED="protobuf"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.28 +
    1.29 +	cp -a $install/usr/include		$fs/usr
    1.30 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.31 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.32  }
     2.1 --- a/protobuf-python/receipt	Sun Jun 09 15:06:40 2019 +0100
     2.2 +++ b/protobuf-python/receipt	Wed Jun 12 13:25:36 2019 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="protobuf-python"
     2.7 -VERSION="2.4.1"
     2.8 +VERSION="3.8.0"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Encode structured data in an efficient yet extensible format.(python)"
    2.11 +SHORT_DESC="Protocol buffers - Google's data interchange format (python)."
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="BSD"
    2.14 -WEB_SITE="https://developers.google.com/protocol-buffers/"
    2.15 +WEB_SITE="https://github.com/protocolbuffers/protobuf/"
    2.16 +
    2.17  SOURCE="protobuf"
    2.18 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.19 -WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
    2.20 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.21 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    2.22  
    2.23 -DEPENDS="python protobuf"
    2.24 +DEPENDS="protobuf python"
    2.25  BUILD_DEPENDS="protobuf-dev python-dev python-setuptools"
    2.26  
    2.27  # Rules to configure and make the package.
    2.28 @@ -26,4 +27,3 @@
    2.29  {
    2.30  	cp -a $install/* $fs
    2.31  }
    2.32 -
     3.1 --- a/protobuf/receipt	Sun Jun 09 15:06:40 2019 +0100
     3.2 +++ b/protobuf/receipt	Wed Jun 12 13:25:36 2019 +0100
     3.3 @@ -1,29 +1,37 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="protobuf"
     3.7 -VERSION="2.4.1"
     3.8 +VERSION="3.8.0"
     3.9  CATEGORY="network"
    3.10 -SHORT_DESC="Encode structured data in an efficient yet extensible format."
    3.11 +SHORT_DESC="Protocol buffers - Google's data interchange format."
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="BSD"
    3.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.15 -WEB_SITE="https://developers.google.com/protocol-buffers/"
    3.16 -WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
    3.17 +WEB_SITE="https://github.com/protocolbuffers/protobuf/"
    3.18 +
    3.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.20 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    3.21 +
    3.22 +DEPENDS="gcc83-lib-base"
    3.23 +BUILD_DEPENDS="automakegcc83 libtool"
    3.24  
    3.25  # Rules to configure and make the package.
    3.26  compile_rules()
    3.27  {
    3.28 -	cd $src
    3.29 -	./configure \
    3.30 -		--prefix=/usr \
    3.31 +	./autogen.sh &&
    3.32 +	./configure		\
    3.33 +		CC=gcc-83	\
    3.34 +		CXX=g++-83	\
    3.35 +		--prefix=/usr	\
    3.36  		$CONFIGURE_ARGS &&
    3.37 -	make && make install
    3.38 +	make &&
    3.39 +	make install
    3.40  }
    3.41  
    3.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.43  genpkg_rules()
    3.44  {
    3.45  	mkdir -p $fs/usr/lib
    3.46 -	cp -a $install/usr/bin $fs/usr
    3.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.48 +
    3.49 +	cp -a $install/usr/bin		$fs/usr
    3.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.51  }