summaryrefslogblamecommitdiff
path: root/user/unixodbc/APKBUILD
blob: 592feea9b9b2d7da430a14dd43e56edb704fd9d3 (plain) (tree)
1
2
3
4
5
6


                                                     
            
        
                                                       










                                                                      











                                           


                                          
                                                                                                                                                                    
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: 
pkgname=unixodbc
pkgver=2.3.9
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="6637eab751401522e0af775cb104cd07693b82927453a98e5af28e079f4b9f40e1cfab8cb36f509c46dced89b45244bc5ed1a3dda17ba5a52a844e8e82f187bb  unixODBC-2.3.9.tar.gz"