# HG changeset patch # User Hans-G?nter Theisgen # Date 1560342336 -3600 # Node ID a7a6421d4dc4782d5d2438ae118c4dc17ac33dbb # Parent 0451e4c7bc79bf48e61ce618c2afe1721e8e7199 updated protobuf, protobuf-dev and protobuf-python (2.4.1 -> 3.8.0) diff -r 0451e4c7bc79 -r a7a6421d4dc4 protobuf-dev/receipt --- a/protobuf-dev/receipt Sun Jun 09 15:06:40 2019 +0100 +++ b/protobuf-dev/receipt Wed Jun 12 13:25:36 2019 +0100 @@ -1,21 +1,22 @@ # SliTaz package receipt. PACKAGE="protobuf-dev" -VERSION="2.4.1" +VERSION="3.8.0" CATEGORY="development" -SHORT_DESC="Devel files for protobuf." +SHORT_DESC="Protocol buffers - Google's data interchange format, development files." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WEB_SITE="https://developers.google.com/protocol-buffers/" -WANTED="protobuf" +WEB_SITE="https://github.com/protocolbuffers/protobuf/" DEPENDS="protobuf pkg-config" +WANTED="protobuf" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } diff -r 0451e4c7bc79 -r a7a6421d4dc4 protobuf-python/receipt --- a/protobuf-python/receipt Sun Jun 09 15:06:40 2019 +0100 +++ b/protobuf-python/receipt Wed Jun 12 13:25:36 2019 +0100 @@ -1,17 +1,18 @@ # SliTaz package receipt. PACKAGE="protobuf-python" -VERSION="2.4.1" +VERSION="3.8.0" CATEGORY="network" -SHORT_DESC="Encode structured data in an efficient yet extensible format.(python)" +SHORT_DESC="Protocol buffers - Google's data interchange format (python)." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" -WEB_SITE="https://developers.google.com/protocol-buffers/" +WEB_SITE="https://github.com/protocolbuffers/protobuf/" + SOURCE="protobuf" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" -DEPENDS="python protobuf" +DEPENDS="protobuf python" BUILD_DEPENDS="protobuf-dev python-dev python-setuptools" # Rules to configure and make the package. @@ -26,4 +27,3 @@ { cp -a $install/* $fs } - diff -r 0451e4c7bc79 -r a7a6421d4dc4 protobuf/receipt --- a/protobuf/receipt Sun Jun 09 15:06:40 2019 +0100 +++ b/protobuf/receipt Wed Jun 12 13:25:36 2019 +0100 @@ -1,29 +1,37 @@ # SliTaz package receipt. PACKAGE="protobuf" -VERSION="2.4.1" +VERSION="3.8.0" CATEGORY="network" -SHORT_DESC="Encode structured data in an efficient yet extensible format." +SHORT_DESC="Protocol buffers - Google's data interchange format." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="https://developers.google.com/protocol-buffers/" -WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" +WEB_SITE="https://github.com/protocolbuffers/protobuf/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" + +DEPENDS="gcc83-lib-base" +BUILD_DEPENDS="automakegcc83 libtool" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ + ./autogen.sh && + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --prefix=/usr \ $CONFIGURE_ARGS && - make && make install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib }