[arch-commits] Commit in zeromq/repos (4 files)
Felix Yan
fyan at archlinux.org
Mon Nov 2 03:19:44 UTC 2015
Date: Monday, November 2, 2015 @ 04:19:44
Author: fyan
Revision: 145518
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
zeromq/repos/community-staging-i686/
zeromq/repos/community-staging-i686/PKGBUILD
(from rev 145517, zeromq/trunk/PKGBUILD)
zeromq/repos/community-staging-x86_64/
zeromq/repos/community-staging-x86_64/PKGBUILD
(from rev 145517, zeromq/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
Copied: zeromq/repos/community-staging-i686/PKGBUILD (from rev 145517, zeromq/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-11-02 03:19:44 UTC (rev 145518)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+pkgname=zeromq
+pkgver=4.1.3
+pkgrel=2
+pkgdesc="Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ."
+arch=('i686' 'x86_64')
+url="http://www.zeromq.org"
+license=('LGPL')
+depends=('gcc-libs' 'util-linux' 'libsodium' 'libpgm')
+makedepends=('asciidoc' 'xmlto')
+options=('staticlibs')
+source=("http://download.zeromq.org/$pkgname-$pkgver.tar.gz"
+ 'https://raw.githubusercontent.com/zeromq/cppzmq/a88bf3e0b/zmq.hpp')
+md5sums=('d0824317348cfb44b8692e19cc73dc3a'
+ '3b61c38fca2967e3c7ef252516da5dd1')
+
+prepare() {
+ # Needed for new libsodium
+ sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure prefix=/usr --with-pgm --with-libsodium \
+ --with-documentation --enable-static
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # this will fail if zmq.hpp is out of date
+ LANG=C gcc -c ../zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
+ rm -f test.o
+
+ if [[ $CARCH == 'i686' ]]; then
+ return 0
+ fi
+ make -k check
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/zmq.hpp" "$pkgdir/usr/include/zmq.hpp"
+}
+
Copied: zeromq/repos/community-staging-x86_64/PKGBUILD (from rev 145517, zeromq/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-11-02 03:19:44 UTC (rev 145518)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+pkgname=zeromq
+pkgver=4.1.3
+pkgrel=2
+pkgdesc="Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ."
+arch=('i686' 'x86_64')
+url="http://www.zeromq.org"
+license=('LGPL')
+depends=('gcc-libs' 'util-linux' 'libsodium' 'libpgm')
+makedepends=('asciidoc' 'xmlto')
+options=('staticlibs')
+source=("http://download.zeromq.org/$pkgname-$pkgver.tar.gz"
+ 'https://raw.githubusercontent.com/zeromq/cppzmq/a88bf3e0b/zmq.hpp')
+md5sums=('d0824317348cfb44b8692e19cc73dc3a'
+ '3b61c38fca2967e3c7ef252516da5dd1')
+
+prepare() {
+ # Needed for new libsodium
+ sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure prefix=/usr --with-pgm --with-libsodium \
+ --with-documentation --enable-static
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # this will fail if zmq.hpp is out of date
+ LANG=C gcc -c ../zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
+ rm -f test.o
+
+ if [[ $CARCH == 'i686' ]]; then
+ return 0
+ fi
+ make -k check
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/zmq.hpp" "$pkgdir/usr/include/zmq.hpp"
+}
+
More information about the arch-commits
mailing list