20 lines
461 B
Plaintext
20 lines
461 B
Plaintext
|
# Description: Protocol Buffers implementation in C.
|
||
|
# URL: https://github.com/protobuf-c/protobuf-c
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Packager: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: protobuf
|
||
|
|
||
|
name=protobuf-c
|
||
|
version=1.2.1
|
||
|
release=1
|
||
|
source=(https://github.com/protobuf-c/protobuf-c/releases/download/v$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
|
||
|
./configure --prefix=/usr
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
}
|