updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mysql-ruby-enterprise / PKGBUILD
blob0632df48d7af2bcf6088d632ed148cefd3dd0876
1 # Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
2 # Contributor: Markku <rasat@user-contributions.org>
4 pkgname=mysql-ruby-enterprise
5 pkgver=2.8.1
6 pkgrel=1
7 pkgdesc="This is the MySQL API module for Ruby Enterprise Edition."
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 url="http://tmtm.org/downloads/mysql/ruby"
11 depends=('ruby-enterprise' 'libmysqlclient')
12 source=(http://tmtm.org/downloads/mysql/ruby/mysql-ruby-$pkgver.tar.gz)
13 md5sums=('83b068619f6e9cfb5778125673462f09')
15 build() {
16     cd $startdir/src/mysql-ruby-$pkgver
17     /opt/ruby-enterprise/bin/ruby extconf.rb
18     /opt/ruby-enterprise/bin/ruby extconf.rb --with-mysql-config
19     make || return 1
20     make DESTDIR=$pkgdir install