summaryrefslogtreecommitdiff
path: root/user/unixodbc/APKBUILD
blob: 03f3c78cc4a5a234e9e816b61f41a692c146bb5d (plain) (blame)
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
31
32
33
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: 
pkgname=unixodbc
pkgver=2.3.7
pkgrel=0
pkgdesc="Unix ODBC driver manager and database drivers"
url="http://www.unixodbc.org/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${pkgver}.tar.gz"
builddir="$srcdir/unixODBC-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-gui=no
	make
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="a87afeaaa0476f4ae6345c7021b3af52718944e599abb595c864d9126744a21341889802512a1de3ebaf86ac89e7f8b1bbd7f8f5285e8f4bccf928bd1585ff70  unixODBC-2.3.7.tar.gz"