diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-30 07:52:58 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-30 08:08:37 +0000 |
commit | 38edc8a7d91cdbf517d9dde019e6f5ef9ca33427 (patch) | |
tree | 8f7bfba1911e004a7e10b328cae1f3caf1baef8a /testing/protobuf-c | |
parent | e7b54052b322202b8d52b2083cd9f7c04619dfd9 (diff) | |
download | aports-38edc8a7d91cdbf517d9dde019e6f5ef9ca33427.tar.bz2 aports-38edc8a7d91cdbf517d9dde019e6f5ef9ca33427.tar.xz |
testing/protobuf-c: new aport
C bindings for Google's Protocol Buffers
Diffstat (limited to 'testing/protobuf-c')
-rw-r--r-- | testing/protobuf-c/APKBUILD | 41 |
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" |