2017-10-22 05:03:52 +02:00
|
|
|
# Description: Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
|
|
|
|
# URL: https://developers.google.com/protocol-buffers/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: zlib
|
|
|
|
|
|
|
|
name=protobuf
|
2021-05-29 07:21:22 +02:00
|
|
|
version=3.17.1
|
2017-10-22 05:03:52 +02:00
|
|
|
release=1
|
2021-05-16 09:39:03 +02:00
|
|
|
source=(https://github.com/protocolbuffers/$name/archive/v$version/$name-$version.tar.gz)
|
2017-10-22 05:03:52 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
rm -rf gmock
|
|
|
|
install -d gmock/gtest
|
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|