main/freetds: enable encryption, add check, fix license

This commit is contained in:
A. Wilcox 2018-02-23 14:53:34 -06:00 committed by William Pitcock
parent 99ff6e0209
commit cb8ec889b6

View File

@ -2,13 +2,13 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=freetds
pkgver=1.00.80
pkgrel=0
pkgrel=1
pkgdesc="Tabular Datastream Library"
url="http://www.freetds.org/"
arch="all"
license="GPL"
license="GPL-2.0+, LGPL-2.0+"
depends=
makedepends="unixodbc-dev readline-dev linux-headers"
makedepends="unixodbc-dev readline-dev linux-headers openssl-dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="ftp://ftp.freetds.org/pub/freetds/stable/$pkgname-$pkgver.tar.gz
@ -24,10 +24,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-msdblib
--enable-msdblib \
--with-openssl=/usr \
--enable-odbc \
--with-unixodbc=/usr
make
}
check() {
cd "$builddir"
make -C "src/replacements" check
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install