core/unixodbc/PKGBUILD

33 lines
796 B
Bash
Raw Normal View History

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): AlmAck <almack[at]chakraos[dot]org>
2010-03-28 23:00:40 +08:00
pkgname=unixodbc
2014-07-23 06:24:30 +08:00
pkgver=2.3.2
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=(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')
depends=('readline>=6.0' 'libltdl')
2010-03-28 23:00:40 +08:00
source=(http://www.unixodbc.org/unixODBC-$pkgver.tar.gz)
2014-07-23 06:24:30 +08:00
md5sums=('5e4528851eda5d3d4aed249b669bd05b')
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
make
2010-03-28 23:00:40 +08:00
}
2014-07-23 06:24:30 +08:00
check() {
cd unixODBC-${pkgver}
make -k check
}
2010-05-16 23:08:55 +08:00
package() {
cd ${srcdir}/unixODBC-${pkgver}
make DESTDIR=${pkgdir} install
2010-05-16 23:08:55 +08:00
}