35 lines
935 B
Bash
35 lines
935 B
Bash
# Template file for 'freetds'
|
|
pkgname=freetds
|
|
version=1.00.94
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--sysconfdir=/etc/freetds"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="readline-devel"
|
|
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="ftp://ftp.freetds.org/pub/freetds/stable/freetds-${version}.tar.gz"
|
|
checksum=0712de3b11be154c633cedeac4b8923316f2bca843d2f3d438e58071d7cd239d
|
|
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"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|