2015-08-05 17:53:05 +00:00
|
|
|
# Template file for 'freetds'
|
|
|
|
pkgname=freetds
|
2015-11-10 03:22:50 +00:00
|
|
|
version=0.95.67
|
2015-09-25 21:29:56 +00:00
|
|
|
revision=1
|
2015-08-05 17:53:05 +00:00
|
|
|
build_style=gnu-configure
|
2015-08-13 04:34:25 +00:00
|
|
|
configure_args="--sysconfdir=/etc/$pkgname"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="readline-devel"
|
|
|
|
conf_files="/etc/$pkgname/freetds.conf /etc/$pkgname/locales.conf /etc/$pkgname/pool.conf"
|
2015-08-05 17:53:05 +00:00
|
|
|
short_desc="An implementation of the Tabular DataStream protocol"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
|
|
license="LGPL-3"
|
|
|
|
homepage="http://www.freetds.org/"
|
|
|
|
distfiles="ftp://ftp.freetds.org/pub/freetds/stable/${pkgname}-${version}.tar.gz"
|
2015-11-10 03:22:50 +00:00
|
|
|
checksum=9de8e07a6480b253c3d6ea7a55b78a9ea15b1a2ab2ead2c27c2720d8842d8818
|
2015-08-05 17:53:05 +00:00
|
|
|
|
|
|
|
freetds-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
2015-09-25 21:29:56 +00:00
|
|
|
|
2015-08-05 17:53:05 +00:00
|
|
|
freetds-doc_package() {
|
|
|
|
short_desc+=" - documentation"
|
|
|
|
noarch=yes
|
|
|
|
pkg_install() {
|
2015-08-13 04:34:25 +00:00
|
|
|
vmove usr/share/doc
|
2015-08-05 17:53:05 +00:00
|
|
|
}
|
|
|
|
}
|