main/psqlodbc: upgrade to 09.06.0410 and modernize

This commit is contained in:
Roberto Oliveira 2017-09-02 23:01:45 +00:00 committed by Timo Teräs
parent ef3023d663
commit 17fc1ffeec

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=psqlodbc
pkgver=09.03.0400
pkgrel=2
pkgver=09.06.0410
pkgrel=0
pkgdesc="PostgreSQL ODBC driver"
url="http://www.postgresql.org"
arch="all"
@ -11,28 +11,20 @@ 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"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
--prefix=/usr
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
md5sums="33d7020d30978089df3914bcbfa5049f psqlodbc-09.03.0400.tar.gz"
sha256sums="de77dfa89dba0a159afc57b2e312ca6e9075dd92b761c7cc700c0450ba02b56b psqlodbc-09.03.0400.tar.gz"
sha512sums="c33eec72c496c6dc24569130cf4463ce6855753bb05791f471b3ce8d89ce9ff6ac81056b427bda9badf47519ba8bc3b49012e3b64da69811c8fb48742aaaf606 psqlodbc-09.03.0400.tar.gz"
sha512sums="f129f7de1ec1dcec3d17d5d21eabb438ca9b9c1b76dd3b5571f6566460c61438a7c69bfda0057697e8669cd33ae5b8213d19e3c526c04eeb21b6632e62b761f8 psqlodbc-09.06.0410.tar.gz"