diff options
author | Fabio da Silva Ribeiro <silva.ribeiro@dafiti.com.br> | 2016-03-19 10:03:52 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-04-06 05:20:52 +0000 |
commit | 812cca522cc825748fe7790c63af56e54c0acb71 (patch) | |
tree | 8317054486c2acd035ff38c1ab507d9f4139342b /testing/rabbitmq-c | |
parent | ea7d874bd90947248e2b14f497cefa6cd1967b9d (diff) | |
download | aports-812cca522cc825748fe7790c63af56e54c0acb71.tar.bz2 aports-812cca522cc825748fe7790c63af56e54c0acb71.tar.xz |
testing/rabbitmq-c: RabbitMQ C AMQP client library
Diffstat (limited to 'testing/rabbitmq-c')
-rw-r--r-- | testing/rabbitmq-c/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/rabbitmq-c/APKBUILD b/testing/rabbitmq-c/APKBUILD new file mode 100644 index 0000000000..ef41bd5dc6 --- /dev/null +++ b/testing/rabbitmq-c/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Fabio Ribeiro <fabiorphp@gmail.com> +# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com> +pkgname=rabbitmq-c +pkgver=0.7.1 +pkgrel=0 +pkgdesc="RabbitMQ C client" +url="https://github.com/alanxz/rabbitmq-c" +arch="all" +license="MIT" +source="https://github.com/alanxz/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="6216c8876299a5efc4ff5ff84dc636d8 rabbitmq-c-0.7.1.tar.gz" +sha256sums="23df349a7d157543e756acc67e47b217843ecbdafaefe3e4974073bb99d8a26d rabbitmq-c-0.7.1.tar.gz" +sha512sums="197b8476373e3a9056d5f24e0d932a37a556a946d2b6471c95e8b0e693b611de51882be4911bd099f2c2e76153225d83cac1bec8106c031058315f062a8a4ab4 rabbitmq-c-0.7.1.tar.gz" |