void-packages/srcpkgs/freetds/template
maxice8 241addfd69 freetds: update to 1.00.82.
Closes: #12259 [via git-merge-pr]
2018-03-07 23:41:52 -08:00

33 lines
930 B
Bash

# Template file for 'freetds'
pkgname=freetds
version=1.00.82
revision=1
build_style=gnu-configure
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"
short_desc="An implementation of the Tabular DataStream protocol"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="LGPL-2.0-or-later"
homepage="http://www.freetds.org/"
distfiles="ftp://ftp.freetds.org/pub/freetds/stable/${pkgname}-${version}.tar.gz"
checksum=eb1c6857f57fcc0bf9b7217c5f77bd04a4b27e603a8bfbd87821a295b4d352cd
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"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}