2016-03-29 22:31:00 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/freetds
|
2011-01-04 03:23:28 +08:00
|
|
|
|
|
|
|
pkgname=freetds
|
2016-03-29 22:31:00 +08:00
|
|
|
pkgver=0.95.79
|
2017-02-03 15:39:02 +08:00
|
|
|
pkgrel=2
|
2011-01-04 03:23:28 +08:00
|
|
|
pkgdesc='Library for accessing Sybase and MS SQL Server databases'
|
|
|
|
url='http://www.freetds.org'
|
2016-03-29 22:31:00 +08:00
|
|
|
arch=('x86_64')
|
2011-01-04 03:23:28 +08:00
|
|
|
license=('LGPL')
|
2017-02-03 15:39:02 +08:00
|
|
|
depends=('unixodbc' 'openssl' 'readline')
|
2011-01-04 03:23:28 +08:00
|
|
|
backup=('etc/freetds/freetds.conf'
|
|
|
|
'etc/freetds/locales.conf'
|
|
|
|
'etc/freetds/pool.conf')
|
2016-03-29 22:31:00 +08:00
|
|
|
source=("ftp://ftp.freetds.org/pub/freetds/stable/$pkgname-$pkgver.tar.bz2")
|
|
|
|
md5sums=('bbc43cdbf1778dc354c191eda4c6ee70')
|
2011-01-04 03:23:28 +08:00
|
|
|
|
|
|
|
build() {
|
2016-03-29 22:31:00 +08:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc/freetds \
|
|
|
|
--enable-msdblib \
|
|
|
|
--with-tdsver=7.0 \
|
|
|
|
--with-unixodbc=/usr \
|
|
|
|
--with-openssl
|
|
|
|
make
|
2011-01-04 03:23:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-03-29 22:31:00 +08:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|