core/unixodbc/PKGBUILD

30 lines
864 B
Bash
Raw Normal View History

2010-05-16 23:08:55 +08:00
# $Id: PKGBUILD 78429 2010-04-23 18:51:55Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
2010-03-28 23:00:40 +08:00
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=unixodbc
2010-05-16 23:08:55 +08:00
pkgver=2.3.0
pkgrel=1
2010-03-28 23:00:40 +08:00
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
arch=(i686 x86_64)
2010-05-16 23:08:55 +08:00
license=('GPL2' 'LGPL2.1')
2010-03-28 23:00:40 +08:00
url="http://www.unixodbc.org/"
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
2010-05-16 23:08:55 +08:00
depends=('readline>=6.0' 'libtool')
2010-03-28 23:00:40 +08:00
options=('!libtool')
source=(http://www.unixodbc.org/unixODBC-$pkgver.tar.gz)
2010-05-16 23:08:55 +08:00
md5sums=('f2ad22cbdffe836c58987ed2332c2e99')
2010-03-28 23:00:40 +08:00
build() {
2010-05-16 23:08:55 +08:00
cd ${srcdir}/unixODBC-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
2010-03-28 23:00:40 +08:00
make || return 1
}
2010-05-16 23:08:55 +08:00
package() {
cd ${srcdir}/unixODBC-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}