PKGBUILDs/community/mysql-workbench/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
1 KiB
Bash

# $Id: PKGBUILD 1801 2009-09-03 23:47:55Z ibiru $
# Maintainer : Biru Ionut <biru.ionut at gmail.com>
# Contributor: totoloco <totoloco at gmail _dot_com>
pkgname=mysql-workbench
pkgver=5.1.18
pkgrel=1
pkgdesc="MySQL Workbench is a cross-platform, visual database design tool developed by MySQL."
arch=('i686' 'x86_64')
url="http://dev.mysql.com/workbench/"
license=('GPL2')
depends=('libgnome' 'libzip' 'libmysqlclient' 'lua' 'gtkmm' 'libglade')
makedepends=('glib' 'boost' 'curl' 'openssl' 'mesa')
optdepends=('python: For python modules')
options=('!libtool')
source=(ftp://mirror.anl.gov/pub/mysql/Downloads/MySQLGUITools/$pkgname-oss-$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgname-oss-$pkgver"
#we use System provided libraries
rm -rf ext/curl
rm -rf ext/yassl
rm -rf ext/boost
rm -rf ext/libsigc++
export CPPFLAGS=$(pkg-config --cflags sigc++-2.0)
./autogen.sh --prefix=/usr --disable-debug \
--enable-python-modules --disable-static
make || return 1
make DESTDIR="$pkgdir" install
}
md5sums=('f136bac3e808cadda36321ac0e644399')