aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-09-02 23:01:45 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-09-05 06:13:16 +0000
commit17fc1ffeec1bfab78cf372d2cc8f04983e84e794 (patch)
treed9263ba0103142caea3789bcf5764e851c4ecf8b /main
parentef3023d663cf033f4932bf39c69643fe1c6a61a2 (diff)
downloadaports-17fc1ffeec1bfab78cf372d2cc8f04983e84e794.tar.bz2
aports-17fc1ffeec1bfab78cf372d2cc8f04983e84e794.tar.xz
main/psqlodbc: upgrade to 09.06.0410 and modernize
Diffstat (limited to 'main')
-rw-r--r--main/psqlodbc/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/main/psqlodbc/APKBUILD b/main/psqlodbc/APKBUILD
index 4830122ef8..2e55ce75ae 100644
--- a/main/psqlodbc/APKBUILD
+++ b/main/psqlodbc/APKBUILD
@@ -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"