diff options
author | root <root@rshg054.dnsready.net> | 2013-11-02 01:12:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-11-02 01:12:34 -0700 |
commit | eb9cc495e6d7c131c76f9abc178ac65f1e20fab1 (patch) | |
tree | 2666e8ff27419292a76d9f521c1a67dde999b26a /pcr | |
parent | 22f873a6e3ac2c585a28a1ab2561eaea9765cdc6 (diff) |
Sat Nov 2 01:09:32 PDT 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/czmq/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/filemq/PKGBUILD | 34 |
2 files changed, 61 insertions, 0 deletions
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 <taotetek at gmail.com> +# Maintainer: Brian Knox <taotetek at gmail.com> +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 +} |