summaryrefslogtreecommitdiffstats
path: root/extra/unixodbc/APKBUILD
blob: cd72a165373a67bcd6250e75802476996c0ffe44 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=unixodbc
pkgver=2.2.14
pkgrel=0
pkgdesc="ODBC is an open specification to access Data Sources"
url="http://www.unixodbc.org/"
license="GPL2"
depends="readline"
makedepends="readline-dev"
subpackages="$pkgname-dev"
source="http://www.unixodbc.org/unixODBC-${pkgver}.tar.gz"

build() {
	cd "$srcdir/unixODBC-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-gui=no
	make || return 1
	make -j1 DESTDIR="$pkgdir" install

}

md5sums="f47c2efb28618ecf5f33319140a7acd0  unixODBC-2.2.14.tar.gz"