40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'freetds'
|
|
pkgname=freetds
|
|
version=1.3.10
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--sysconfdir=/etc/freetds --with-unixodbc=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="readline-devel unixodbc-devel"
|
|
depends="unixodbc"
|
|
short_desc="Open source implementation of the Tabular Data Stream protocol"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://www.freetds.org/"
|
|
changelog="https://raw.githubusercontent.com/FreeTDS/freetds/master/NEWS.md"
|
|
distfiles="https://www.freetds.org/files/stable/freetds-${version}.tar.bz2"
|
|
checksum=819aeaf7feaa1bfdbc2213f81ad067061dd4c56245996a4e2b529d87296a5d63
|
|
# Some tests require connection to a server.
|
|
make_check=no
|
|
|
|
conf_files="/etc/freetds/freetds.conf
|
|
/etc/freetds/locales.conf
|
|
/etc/freetds/pool.conf"
|
|
|
|
freetds-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/include
|
|
}
|
|
}
|
|
|
|
freetds-doc_package() {
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|