summaryrefslogtreecommitdiffstats
path: root/testing/psqlodbc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/psqlodbc/APKBUILD')
-rw-r--r--testing/psqlodbc/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/psqlodbc/APKBUILD b/testing/psqlodbc/APKBUILD
new file mode 100644
index 000000000..6139d96ea
--- /dev/null
+++ b/testing/psqlodbc/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=psqlodbc
+pkgver=08.04.0200
+pkgrel=0
+pkgdesc="PostgreSQL ODBC driver"
+url="http://www.postgresql.org"
+license="GPL"
+depends=
+makedepends="postgresql-dev unixodbc-dev openssl-dev"
+subpackages="$pkgname-dev"
+source="ftp://ftp2.it.postgresql.org/mirrors/postgres//odbc/versions/src/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+md5sums="8296be11d24e3111319826fbaf034066 psqlodbc-08.04.0200.tar.gz"