void-packages/srcpkgs/freetds/template

34 lines
919 B
Bash
Raw Normal View History

2015-08-05 19:53:05 +02:00
# Template file for 'freetds'
pkgname=freetds
2016-11-11 00:10:50 +01:00
version=1.00.18
2015-09-25 23:29:56 +02:00
revision=1
2015-08-05 19:53:05 +02:00
build_style=gnu-configure
2015-08-13 06:34:25 +02: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 19:53:05 +02: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"
2016-11-11 00:10:50 +01:00
checksum=b83e19331dd4e80cb88a11dfb3224eac6c6e677118f904d2470f690c617778ec
2015-08-05 19:53:05 +02: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 23:29:56 +02:00
2015-08-05 19:53:05 +02:00
freetds-doc_package() {
short_desc+=" - documentation"
noarch=yes
pkg_install() {
2015-08-13 06:34:25 +02:00
vmove usr/share/doc
2015-08-05 19:53:05 +02:00
}
}