wok-current diff protobuf/receipt @ 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 (2019-06-12)
parents 6135577f4d08
children 42feee1f9a23
line diff
     1.1 --- a/protobuf/receipt	Sat Jan 26 12:26:47 2019 +0100
     1.2 +++ b/protobuf/receipt	Wed Jun 12 13:25:36 2019 +0100
     1.3 @@ -1,29 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="protobuf"
     1.7 -VERSION="2.4.1"
     1.8 +VERSION="3.8.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Encode structured data in an efficient yet extensible format."
    1.11 +SHORT_DESC="Protocol buffers - Google's data interchange format."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="https://developers.google.com/protocol-buffers/"
    1.16 -WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
    1.17 +WEB_SITE="https://github.com/protocolbuffers/protobuf/"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.21 +
    1.22 +DEPENDS="gcc83-lib-base"
    1.23 +BUILD_DEPENDS="automakegcc83 libtool"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 +	./autogen.sh &&
    1.32 +	./configure		\
    1.33 +		CC=gcc-83	\
    1.34 +		CXX=g++-83	\
    1.35 +		--prefix=/usr	\
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make && make install
    1.38 +	make &&
    1.39 +	make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45  	mkdir -p $fs/usr/lib
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 +
    1.49 +	cp -a $install/usr/bin		$fs/usr
    1.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.51  }