mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 09:34:38 +08:00
30 lines
744 B
Bash
30 lines
744 B
Bash
# maintainer (x86_64): AlmAck <almack[at]chakraos[dot]org>
|
|
|
|
pkgname=unixodbc
|
|
pkgver=2.3.4
|
|
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' 'libltdl')
|
|
source=(ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-$pkgver.tar.gz)
|
|
md5sums=('bd25d261ca1808c947cb687e2034be81')
|
|
|
|
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
|
|
}
|