From bd7707c967f67f6e9a523fae5464f0d121db4f10 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 4 Jul 2018 19:32:43 -0500 Subject: user/unixodbc: pull in for openldap --- user/unixodbc/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/unixodbc/APKBUILD (limited to 'user/unixodbc/APKBUILD') diff --git a/user/unixodbc/APKBUILD b/user/unixodbc/APKBUILD new file mode 100644 index 000000000..c29986afc --- /dev/null +++ b/user/unixodbc/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Carlo Landmeter +# 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" -- cgit v1.2.3-70-g09d2