aports/main/protobuf-c/APKBUILD
Jakub Jirutka b0fba0fff4 main/protobuf-c: fix wrong license
It doesn't look like this project has ever been licensed under GPL
license (see [1]).

[1]: 2689e06257 (diff-04c6e90faac2675aa89e2176d2eec7d8)
2017-12-30 17:28:43 +01:00

41 lines
983 B
Plaintext

# Contributor: TBK <alpin@jjtc.eu>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=protobuf-c
pkgver=1.3.0
pkgrel=5
pkgdesc="C bindings for Google's Protocol Buffers"
url="https://github.com/protobuf-c/protobuf-c/wiki"
arch="all"
license="BSD-2-Clause"
makedepends="protobuf-dev"
subpackages="$pkgname-dev"
source="https://github.com/protobuf-c/protobuf-c/releases/download/v$pkgver/protobuf-c-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
# parallel build issue:
# https://github.com/protobuf-c/protobuf-c/issues/156
make t/test-full.pb.h && make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ba49bf45a9ae93d41f200f4f18c4f9469c63fcc2a2392b3b45f083c378a6876891890448ceba216083ad351aa35f4669cd920973f53e5780de9ec4c8f61279bb protobuf-c-1.3.0.tar.gz"