24 lines
567 B
Plaintext
24 lines
567 B
Plaintext
# Description: Protocol Buffers implementation in C
|
|
# URL: https://github.com/protobuf-c/protobuf-c
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: protobuf
|
|
|
|
name=protobuf-c
|
|
version=1.5.0
|
|
release=2
|
|
source=(https://github.com/protobuf-c/protobuf-c/releases/download/v$version/$name-$version.tar.gz
|
|
protobuf-c-1.5.0-Clean-CMake.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i $SRC/protobuf-c-1.5.0-Clean-CMake.patch
|
|
autoreconf -fvi
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--disable-nls
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|