diff options
Diffstat (limited to 'user/unixodbc')
-rw-r--r-- | user/unixodbc/APKBUILD | 35 |
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" |