summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-04 19:32:43 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-04 19:32:43 -0500
commitbd7707c967f67f6e9a523fae5464f0d121db4f10 (patch)
treee121bfdc4e7af31ce04437da75b631b7c76ea84e
parent58643b228ee99f2c7575285d98d2330dd70c7e28 (diff)
downloadpackages-bd7707c967f67f6e9a523fae5464f0d121db4f10.tar.gz
packages-bd7707c967f67f6e9a523fae5464f0d121db4f10.tar.bz2
packages-bd7707c967f67f6e9a523fae5464f0d121db4f10.tar.xz
packages-bd7707c967f67f6e9a523fae5464f0d121db4f10.zip
user/unixodbc: pull in for openldap
-rw-r--r--user/unixodbc/APKBUILD35
1 files changed, 35 insertions, 0 deletions
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 <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"