diff options
Diffstat (limited to 'testing/rabbitmq-c/APKBUILD')
-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" |