Sha256: 05e62add937993bae65f0191c18d7b9fb570a085025e746d0e8979ccbd8c7ab0

Contents?: true

Size: 542 Bytes

Versions: 51

Compression:

Stored size: 542 Bytes

Contents

#!/usr/bin/env sh

set -ex

gdie() {
    echo "$@" >&2
    exit 1
}

test -n "$PROTOBUF_VERSION" || die "PROTOBUF_VERSION env var is undefined"

case "$PROTOBUF_VERSION" in
2*)
    basename=protobuf-$PROTOBUF_VERSION
    ;;
3*)
    basename=protobuf-cpp-$PROTOBUF_VERSION
    ;;
*)
    die "unknown protobuf version: $PROTOBUF_VERSION"
    ;;
esac

curl -sL https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/$basename.tar.gz | tar zx

cd protobuf-$PROTOBUF_VERSION

./configure --prefix=/usr && make -j2 && make install

Version data entries

51 entries across 51 versions & 4 rubygems

Version Path
protobuf-cucumber-3.10.8 install-protobuf.sh
protobuf-cucumber-3.10.7 install-protobuf.sh
protobuf-cucumber-3.10.6 install-protobuf.sh
protobuf-cucumber-3.10.5 install-protobuf.sh
protobuf-cucumber-3.10.4 install-protobuf.sh
protobuf-3.10.3 install-protobuf.sh
protobuf-3.10.2 install-protobuf.sh
protobuf-3.10.1 install-protobuf.sh
protobuf-3.10.0 install-protobuf.sh
protobuf-3.10.0.pre0 install-protobuf.sh
protobuf-3.9.0 install-protobuf.sh
protobuf-3.9.0.pre2 install-protobuf.sh
protobuf-3.9.0.pre install-protobuf.sh
protobuf-3.8.5 install-protobuf.sh
protobuf-3.8.5.pre0 install-protobuf.sh
protobuf-3.8.4 install-protobuf.sh
protobuf-3.8.3 install-protobuf.sh
protobuf-3.8.2 install-protobuf.sh
protobuf-3.8.1 install-protobuf.sh
protobuf-3.8.0 install-protobuf.sh