diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-30 07:34:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-30 07:37:05 +0000 |
commit | 3ab7656ba3a2ee5d7d0da6f0075d2fdc13ce1fd3 (patch) | |
tree | ec58fe1447a018fbdd393781a827587f4db0c802 /main/protobuf-c/APKBUILD | |
parent | 9620c81917d454c855b17f5e711ae08e57b4ae4f (diff) | |
download | aports-3ab7656ba3a2ee5d7d0da6f0075d2fdc13ce1fd3.tar.bz2 aports-3ab7656ba3a2ee5d7d0da6f0075d2fdc13ce1fd3.tar.xz |
main/protobuf-c: moved from testing
needed by umurmur
Diffstat (limited to 'main/protobuf-c/APKBUILD')
-rw-r--r-- | main/protobuf-c/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/protobuf-c/APKBUILD b/main/protobuf-c/APKBUILD new file mode 100644 index 0000000000..137a85552e --- /dev/null +++ b/main/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" |