d/protobuf: Upgraded to protobuf-3.1.0.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent 5e875e70a8
commit be095ab426

@ -1 +0,0 @@
6421ee86d8fb4e39f21f56991daa892a3e8d314b protobuf-2.6.1.tar.bz2

@ -0,0 +1 @@
e5f59dc4202fd59894f5cb9310b3d6cb2f0a2ef7 protobuf-3.1.0.tar.gz

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2016 Damien Goutte-Gattat
# Copyright (C) 2013,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,10 @@
# Source package infos
NAMESRC=${NAMESRC:-protobuf}
VERSION=${VERSION:-2.6.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://github.com/google/protobuf/releases/download/v$VERSION/$ARCHIVE}
VERSION=${VERSION:-3.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/google/protobuf/archive/v$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-protobuf}
@ -84,6 +85,7 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
./autogen.sh
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \

Loading…
Cancel
Save