updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / mysql-proxy / PKGBUILD
blobae5c9bbaada1ca195bc77b7b3c30bba9f4024d5a
1 # Maintainer: Sebastian Vandekerckhove <sebastianvdk(at)foxatwork(dot)be>
3 pkgname=mysql-proxy
4 pkgver=0.8.0
5 pkgrel=1
6 pkgdesc="Monitors, analyzes and transformations communication between the MySQL client and server"
7 arch=('i686')
8 url="http://forge.mysql.com/wiki/MySQL_Proxy"
9 license=('GPL')
10 depends=('lua>=5.1.0' 'glib2>=2.6.0' 'libevent>=1.0')
11 makedepends=('pkgconfig' 'libmysqlclient' 'libtool')
12 conflicts=('mysql-proxy-svn')
13 source=(ftp://ftp.easynet.be/mysql/Downloads/MySQL-Proxy/$pkgname-$pkgver.tar.gz)
14 md5sums=('b6a9748d72e8db7fe3789fbdd60ff451')
16 build() {
17     cd $startdir/src/$pkgname-$pkgver
19     ./configure --prefix=/usr --datadir=/usr/share/$pkgname LDFLAGS="-ldl"
21     make || return 1
22     make DESTDIR=$startdir/pkg install || return 1