1 # Contributor: Patrick Schneider <patrick.p2k.schneider@gmail.com>
2 pkgname=pygowave-erlang-rpc
5 pkgdesc="PyGoWave RPC Server written in Erlang"
7 url="http://github.com/p2k/pygowave"
9 depends=('erlang' 'mysql')
10 optdepends=('rabbitmq: Scalable message broker' 'rabbitmq-stomp: Allows PyGoWave Erlang RPC to use it')
11 backup=(etc/pygowave-erlang-rpc.conf)
13 source=(http://github.com/p2k/pygowave/tarball/v$pkgver pygowave-erlang-rpc.conf)
14 md5sums=('8e35814dcf245c1db61739c12fc636e0'
15 '86bd59d8e69e8bdd2ce1807c4e751c7f')
18 cd "$srcdir"/p2k-pygowave-*
20 cd pygowave_erlang_rpc
21 msg "Compiling application..."
24 msg "Installing application..."
25 make DESTDIR="$pkgdir/usr" install || return 1
28 msg "Installing rc script & config..."
29 install -Dm 755 linux_support/rc_script/pygowave-erlang-rpc "$pkgdir/etc/rc.d/pygowave-erlang-rpc"
30 install -m 644 "$srcdir/pygowave-erlang-rpc.conf" "$pkgdir/etc/pygowave-erlang-rpc.conf"