# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=psqlodbc pkgver=09.06.0410 pkgrel=0 pkgdesc="PostgreSQL ODBC driver" url="http://www.postgresql.org" arch="all" license="GPL" depends= makedepends="postgresql-dev unixodbc-dev libressl-dev libtool" subpackages= source="https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="f129f7de1ec1dcec3d17d5d21eabb438ca9b9c1b76dd3b5571f6566460c61438a7c69bfda0057697e8669cd33ae5b8213d19e3c526c04eeb21b6632e62b761f8 psqlodbc-09.06.0410.tar.gz"