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