core/unixodbc/PKGBUILD
2014-07-23 00:24:30 +02:00

33 lines
796 B
Bash

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): AlmAck <almack[at]chakraos[dot]org>
pkgname=unixodbc
pkgver=2.3.2
pkgrel=1
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
arch=(x86_64)
license=('GPL2' 'LGPL2.1')
url="http://www.unixodbc.org/"
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
depends=('readline>=6.0' 'libltdl')
source=(http://www.unixodbc.org/unixODBC-$pkgver.tar.gz)
md5sums=('5e4528851eda5d3d4aed249b669bd05b')
build() {
cd ${srcdir}/unixODBC-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc
make
}
check() {
cd unixODBC-${pkgver}
make -k check
}
package() {
cd ${srcdir}/unixODBC-${pkgver}
make DESTDIR=${pkgdir} install
}