summaryrefslogtreecommitdiffstats
path: root/main/psqlodbc/APKBUILD
blob: a14579a20bb62d516af834d909712e9570f0aa4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"