# Contributor: Michael Mason # Maintainer: Michael Mason pkgname=freetds pkgver=1.3.18 pkgrel=2 pkgdesc="Tabular Datastream Library" url="https://www.freetds.org/" arch="all" license="GPL-2.0-or-later OR LGPL-2.0-or-later" makedepends="openssl-dev>3 linux-headers readline-dev unixodbc-dev" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://www.freetds.org/files/stable/freetds-$pkgver.tar.bz2" options="!check" # tests require running SQL server http://www.freetds.org/userguide/confirminstall.htm#TESTS build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-msdblib \ --with-openssl=/usr \ --enable-odbc \ --with-unixodbc=/usr make } check() { cd "$builddir"/src/replacements make check } package() { make -j1 DESTDIR="$pkgdir" install } sha512sums=" 2895d7261e097720d70eb44e2040da8643c4bf45ba53a7405ae5d4fe1b85a995b6d9a72e4ce607866d7a36eed00a50e843c19c9038489efa8649c12ced26f186 freetds-1.3.18.tar.bz2 "