summaryrefslogtreecommitdiff
path: root/staging/unixodbc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'staging/unixodbc/PKGBUILD')
-rw-r--r--staging/unixodbc/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/staging/unixodbc/PKGBUILD b/staging/unixodbc/PKGBUILD
new file mode 100644
index 000000000..263c8725b
--- /dev/null
+++ b/staging/unixodbc/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 145094 2011-12-16 20:06:58Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=unixodbc
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+url="http://www.unixodbc.org/"
+backup=('etc/odbc.ini' 'etc/odbcinst.ini')
+depends=('readline' 'libltdl')
+options=('!libtool')
+source=("http://www.unixodbc.org/unixODBC-$pkgver.tar.gz")
+md5sums=('86788d4006620fa1f171c13d07fdcaab')
+
+build() {
+ cd ${srcdir}/unixODBC-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd ${srcdir}/unixODBC-${pkgver}
+ make DESTDIR=${pkgdir} install
+}