# Maintainer: Natanael Copa pkgname=psqlodbc pkgver=09.01.0200 pkgrel=0 pkgdesc="PostgreSQL ODBC driver" url="http://www.postgresql.org" arch="all" license="GPL" depends= makedepends="postgresql-dev unixodbc-dev openssl-dev libtool" subpackages= source="ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="0f4ac0e6b0755af2452764db4cfe4e8f psqlodbc-09.01.0200.tar.gz"