void-packages/srcpkgs/freetds/template
Diogo Leal defb00a2e0 freetds: update to 1.00.44
Closes: #6721 [via git-merge-pr]
2017-06-14 02:45:50 +02:00

33 lines
919 B
Bash

# Template file for 'freetds'
pkgname=freetds
version=1.00.44
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-3"
homepage="http://www.freetds.org/"
distfiles="ftp://ftp.freetds.org/pub/freetds/stable/${pkgname}-${version}.tar.gz"
checksum=b4376e685e6e133e5c4dc9b1099ddfc6cd264f5313ad5e4c26879f7ae9276194
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
}
}