1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Judd Vinet <jvinet@zeroflux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
8 pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
10 license=('GPL2' 'LGPL2.1')
11 url="http://www.unixodbc.org/"
12 backup=('etc/odbc.ini' 'etc/odbcinst.ini')
13 depends=('readline' 'libltdl')
14 source=(ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-$pkgver.tar.gz)
15 sha256sums=('d9e55c8e7118347e3c66c87338856dad1516b490fb7c756c1562a2c267c73b5c')
19 ./configure --prefix=/usr --sysconfdir=/etc
20 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
31 make DESTDIR="${pkgdir}" install
32 touch "$pkgdir"/etc/{odbc,odbcinst}.ini