wok-next rev 20725

protobuf: up (3.5.1), ola: up to latest pre-released src.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 20:12:22 2018 +0300 (2018-05-27)
parents 48bf9a0f6399
children dba6ebc9b925
files ola/receipt protobuf/receipt
line diff
     1.1 --- a/ola/receipt	Sun May 27 18:10:09 2018 +0300
     1.2 +++ b/ola/receipt	Sun May 27 20:12:22 2018 +0300
     1.3 @@ -1,7 +1,9 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="ola"
     1.7 -VERSION="0.10.6"
     1.8 +VERSION="0.10.6+20180519"
     1.9 +COMMIT="50d1535" # v.0.10.6 require protobuf < 3.2 (I don't like to downgrade it),
    1.10 +# but somewhere in pre-0.11 ola have accepted protobuf-3.5.1
    1.11  CATEGORY="network"
    1.12  SHORT_DESC="Open Lighting Architecture"
    1.13  MAINTAINER="kult-ex@aon.at"
    1.14 @@ -9,25 +11,28 @@
    1.15  WEB_SITE="https://www.openlighting.org/ola/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WGET_URL="https://github.com/OpenLightingProject/ola/archive/$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/OpenLightingProject/ola/archive/${COMMIT:-$VERSION}.tar.gz"
    1.20  
    1.21  BUILD_DEPENDS="libtool flex protobuf-dev util-linux-uuid-dev cppunit-dev \
    1.22 -libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev"
    1.23 +libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev \
    1.24 +libusb-compat-dev"
    1.25  SPLIT="ola-dev"
    1.26  
    1.27  compile_rules() {
    1.28  	autoreconf -i
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make && make install
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34 +	make &&
    1.35 +	make install || return 1
    1.36 +
    1.37 +	fix symlinks
    1.38  }
    1.39  
    1.40  genpkg_rules() {
    1.41  	case $PACKAGE in
    1.42  		ola)
    1.43  			copy @std
    1.44 -			DEPENDS="libftdi liblo libmicrohttpd ncurses protobuf"
    1.45 +			DEPENDS="libftdi liblo libmicrohttpd libusb libusb-compat ncurses \
    1.46 +			protobuf util-linux-uuid"
    1.47  			;;
    1.48  		*-dev)
    1.49  			copy @dev
     2.1 --- a/protobuf/receipt	Sun May 27 18:10:09 2018 +0300
     2.2 +++ b/protobuf/receipt	Sun May 27 20:12:22 2018 +0300
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="protobuf"
     2.7 -VERSION="3.3.0"
     2.8 +VERSION="3.5.1"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Protocol Buffers - Google's data interchange format"
    2.11  MAINTAINER="pankso@slitaz.org"