summaryrefslogblamecommitdiff
path: root/user/unixodbc/APKBUILD
blob: c29986afc867b9e46d44bb9e54a06670f283f12b (plain) (tree)


































                                                                                                                                                                    
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: 
pkgname=unixodbc
pkgver=2.3.6
pkgrel=0
pkgdesc="Library for accessing ODBC data sources"
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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-gui=no
	make
}

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

sha512sums="6518a4169946e847dd710d54724a44d268b98954d30064eadadb703edbbeafac05bd1f42a6845c2fdcdab7ae8987800acd1a5f6b4b96de5f3c8c3e4bc370fe30  unixODBC-2.3.6.tar.gz"