1 # Contributor: boypt <pentie at gmail.com>
2 # Maintainer: Daniel YC Lin <dlin.tw at gmail.com>
6 pkgdesc="Fast messaging system built on sockets. AKA 0MQ, ZMQ."
8 url="http://www.zeromq.org/"
10 depends=('util-linux')
11 makedepends=('git' 'asciidoc' 'xmlto')
13 conflicts=(zeromq zeromq-dev)
16 _gitroot="git://github.com/zeromq/libzmq.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
42 ./configure --prefix=/usr
47 cd "$srcdir/$_gitname-build"
52 cd "$srcdir/$_gitname-build"
53 make DESTDIR="$pkgdir/" install
56 # vim:set ts=2 sw=2 et: