37 lines
784 B
Bash
37 lines
784 B
Bash
# Maintainer:
|
|
|
|
pkgname=freetds
|
|
pkgver=1.4.8
|
|
pkgrel=1
|
|
pkgdesc='Library for accessing Sybase and MS SQL Server databases'
|
|
url='https://www.freetds.org'
|
|
arch=(x86_64)
|
|
license=(LGPL)
|
|
depends=(glibc
|
|
krb5
|
|
openssl
|
|
readline
|
|
unixodbc)
|
|
backup=(etc/freetds/freetds.conf
|
|
etc/freetds/locales.conf
|
|
etc/freetds/pool.conf)
|
|
source=(ftp://ftp.freetds.org/pub/freetds/stable/$pkgname-$pkgver.tar.bz2)
|
|
sha256sums=('2b35da2f1c66c54ac4f6e403db3a4ab983a12e98b86bbc4c82267169ff93ab69')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc/freetds \
|
|
--enable-msdblib \
|
|
--enable-krb5 \
|
|
--with-unixodbc=/usr \
|
|
--with-openssl
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|