1 # Maintainer: Ben Webb <bjwebb67 at googlemail dot com>
5 pkgdesc="A message routing network that offers scalability and failover support."
7 url="http://evergreen-ils.org/opensrf.php"
27 perl-cache-memcached \
29 perl-datetime-format-builder \
30 perl-datetime-format-iso8601 \
31 perl-datetime-format-mail \
41 perl-template-toolkit \
57 perl-sql-abstract-limit \
59 perl-universal-require )
60 install=($pkgname.install)
61 source=(http://evergreen-ils.org/downloads/$pkgname-$pkgver.tar.gz $pkgname.patch ejabberd.patch)
62 md5sums=('26e58f327142490c3e779dd108d81d6f' '484032a74fb1adcbb00f896f818e219c'
63 'af29caeb4a55fe2ca7a583ce12412074')
67 patch -Np1 -r - -i ../$pkgname.patch
68 ./configure --prefix=/opensrf --sysconfdir=/opensrf/conf --enable-python
73 cd $srcdir/$pkgname-$pkgver
74 make DESTDIR=$pkgdir install
75 mkdir -p "$pkgdir/opensrf/var/log" "$pkgdir/opensrf/var/run" "$pkgdir/opensrf/var/lock"
76 install -Dm644 ../ejabberd.patch ${pkgdir}/etc/ejabberd/opensrf.patch