summaryrefslogtreecommitdiffstats
path: root/testing/protobuf-c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/protobuf-c')
-rw-r--r--testing/protobuf-c/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/protobuf-c/APKBUILD b/testing/protobuf-c/APKBUILD
new file mode 100644
index 000000000..137a85552
--- /dev/null
+++ b/testing/protobuf-c/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=protobuf-c
+pkgver=0.15
+pkgrel=0
+pkgdesc="C bindings for Google's Protocol Buffers"
+url="https://github.com/protobuf-c/protobuf-c/wiki"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev protobuf-dev"
+install=
+subpackages="$pkgname-dev"
+source="http://protobuf-c.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" -iname *.la -delete
+}
+
+md5sums="73ff0c8df50d2eee75269ad8f8c07dc8 protobuf-c-0.15.tar.gz"
+sha256sums="8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036 protobuf-c-0.15.tar.gz"
+sha512sums="a51b9977ca4a6a73dffe92c7f8f5526f5dd3561b5139df290bafe5093d0fd6ace701d9fa1ee92a9dc8394960efd48f739c44ac17a74a7acd8c365d63e6312e9e protobuf-c-0.15.tar.gz"