From 8a3698d6621627cbfd0b036bb4ac6c8d8d0d03af Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 1 Nov 2013 17:17:03 -0300 Subject: zeromq --- pcr/czmq/PKGBUILD | 27 +++++++++++++++++++++++++++ pcr/filemq/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 pcr/czmq/PKGBUILD create mode 100644 pcr/filemq/PKGBUILD diff --git a/pcr/czmq/PKGBUILD b/pcr/czmq/PKGBUILD new file mode 100644 index 000000000..2cb94125c --- /dev/null +++ b/pcr/czmq/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Brian Knox +# Maintainer: Brian Knox +pkgname=czmq +pkgver=2.0.2 +pkgrel=1 +pkgdesc="High level C API for ZeroMQ" +arch=(i686 x86_64) +url="http://czmq.zeromq.org/" +license=('LGPL') +depends=('zeromq') +makedepends=('asciidoc' 'xmlto') +options=(!libtool) +source=(http://download.zeromq.org/${pkgname}-${pkgver}.tar.gz) + +sha1sums=('9a78ea2bf2100863eefdd0512c77486ebd1e2587') +sha256sums=('75115c2a89facf7f706bc24d0cd09ad0cc4f173a6b6b242743a7ed4ffa7a791b') + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/filemq/PKGBUILD b/pcr/filemq/PKGBUILD new file mode 100644 index 000000000..57f5eb69d --- /dev/null +++ b/pcr/filemq/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=filemq +pkgver=v1.0a.r124.gd2d6274 +pkgrel=1 +pkgdesc="Chunked, flow-controlled, restartable, cancellable, async, multicast file transfer ØMQ protocol" +url="https://github.com/zeromq/filemq" +license=('GPL3' 'LGPL3') +depends=('zeromq' 'czmq') +makedepends=('git') +arch=('i686' 'x86_64') + +source=("git+https://github.com/zeromq/filemq#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + git describe --always| sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +prepare() { + cd "${srcdir}/${pkgname}" + + ./autogen.sh +} + +build() { + cd "${srcdir}/${pkgname}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}" + make prefix=${pkgdir}/usr install +} -- cgit v1.2.3