blob: 2e55ce75aefcb9f3cadb22e5396be322eb865ed6 (
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
27
28
29
30
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=psqlodbc
pkgver=09.06.0410
pkgrel=0
pkgdesc="PostgreSQL ODBC driver"
url="http://www.postgresql.org"
arch="all"
license="GPL"
depends=
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"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f129f7de1ec1dcec3d17d5d21eabb438ca9b9c1b76dd3b5571f6566460c61438a7c69bfda0057697e8669cd33ae5b8213d19e3c526c04eeb21b6632e62b761f8 psqlodbc-09.06.0410.tar.gz"
|