summaryrefslogblamecommitdiff
path: root/user/unixodbc/APKBUILD
blob: e631d0f459f2311bdd3161c5b83107712e1ad70f (plain) (tree)
1
2
3
4

                                                     
            




























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