ddf17e8f3f
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
37 lines
1,008 B
Bash
37 lines
1,008 B
Bash
# Template file for 'freetds'
|
|
pkgname=freetds
|
|
version=1.1.6
|
|
revision=2
|
|
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="http://www.freetds.org/"
|
|
distfiles="http://www.freetds.org/files/stable/freetds-${version}.tar.gz"
|
|
checksum=f3ce8e48bc8fd08777a35c7fc0a26b6c8e7e53748c8c0afec49231df93afcdee
|
|
|
|
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"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|