updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / rabbitmq-stomp / PKGBUILD
blob0a284a85e47b6fa7cea66904640172b2fd54fe89
1 pkgname=rabbitmq-stomp
2 pkgver=1.7.2
3 pkgrel=2
4 pkgdesc="STOMP gateway for RabbitMQ"
5 arch=(i686 x86_64)
6 url="http://rabbitmq.com"
7 license=('MPL')
8 depends=('rabbitmq=1.7.2')
9 makedepends=(mercurial)
10 install=rabbitmq-stomp.install
11 source=()
13 build(){
14         cd "$srcdir"
16         hg clone http://hg.rabbitmq.com/rabbitmq-public-umbrella
18         cd rabbitmq-public-umbrella
19         
20         hg clone http://hg.rabbitmq.com/rabbitmq-stomp -r tip
22         cd rabbitmq-stomp
24         # Small hack for clean compiling
25         mkdir src/rabbit_common
26         ln -s /usr/lib/erlang/lib/rabbitmq_server-$pkgver/include src/rabbit_common/include
28         make package || return 1
30         install -Dm 644 dist/rabbit_stomp.ez "$pkgdir/usr/lib/erlang/lib/rabbitmq_server-$pkgver/plugins/rabbit_stomp.ez"