23 lines
512 B
Plaintext
23 lines
512 B
Plaintext
# 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
|
|
version=3.18.1
|
|
release=1
|
|
source=(https://github.com/protocolbuffers/$name/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
rm -rf gmock
|
|
install -d gmock/gtest
|
|
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|