updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / mod_ruby / PKGBUILD
blob9732215c4d9993df4bee755b0e53efa86a791cd5
1 # Contributor: Ryan Coyner <rcoyner@gmail.com>
2 pkgname=mod_ruby
3 pkgver=1.3.0
4 pkgrel=1
5 pkgdesc="Embeds the Ruby interpreter into Apache"
6 arch=('i686' 'x86_64')
7 url="http://www.modruby.net/"
8 license=('Apache')
9 depends=('apache>=1.3.3' 'ruby>=1.6.4')
10 install=$pkgname.install
11 source=(http://www.modruby.net/archive/$pkgname-$pkgver.tar.gz)
12 md5sums=('5aae358c3c9f1bfa2554da9242289ab7')
14 build() {
15     cd $srcdir/$pkgname-$pkgver
16     ./configure.rb --with-apxs --with-apr-includes=/usr/include/apr-1 \
17                    --prefix=/usr || return 1
18     make || return 1
19     make DESTDIR=$pkgdir install || return 1