aboutsummaryrefslogtreecommitdiffstats
path: root/main/psqlodbc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-19 09:53:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-19 09:53:08 +0000
commit64f514a26ea30945ec91fa965d3667e7c6dd0257 (patch)
tree9dc0177f0b4d713c390c43e1eb71dd25824b8778 /main/psqlodbc
parent55ded0fb5f4b33bb41d28a3af624df28b99089c3 (diff)
downloadaports-64f514a26ea30945ec91fa965d3667e7c6dd0257.tar.bz2
aports-64f514a26ea30945ec91fa965d3667e7c6dd0257.tar.xz
main/psqlodbc: moved from testing
Diffstat (limited to 'main/psqlodbc')
-rw-r--r--main/psqlodbc/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/psqlodbc/APKBUILD b/main/psqlodbc/APKBUILD
new file mode 100644
index 0000000000..a14579a20b
--- /dev/null
+++ b/main/psqlodbc/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=psqlodbc
+pkgver=08.04.0200
+pkgrel=2
+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"