updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / opendbx / PKGBUILD
blobb880064b19628d7672d11189d9cbc9e0e6ee595c
1 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
2 pkgname=opendbx
3 pkgver=1.4.2
4 pkgrel=1
5 pkgdesc="Extremely lightweight but extensible database access library written in C."
6 arch=('x86_64')
7 url="http://www.linuxnetworks.de/doc/index.php/OpenDBX"
8 license=('LGPL2')
9 options=(!libtool)
10 makedepends=('libfbclient' 'libmysqlclient' 'unixodbc' 'postgresql-libs' 'sqlite2' 'sqlite3' 'freetds')
11 source=(http://linuxnetworks.de/opendbx/download/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('15c9f6648e793422ba3912e49a232aa6')
14 build() {
15   cd "${srcdir}/${pkgname}-${pkgver}"
17   CPPFLAGS=${CPPFLAGS}" -I/usr/include/mysql"\
18   ./configure --with-backends="firebird mysql mssql odbc pgsql sqlite sqlite3 sybase" \
19               --prefix=/usr
20   make -j1 || return 1
21   make DESTDIR="${pkgdir}/" install
24 # vim:set ts=2 sw=2 et: