32 lines
839 B
Bash
32 lines
839 B
Bash
|
# Template file for 'freetds'
|
||
|
pkgname=freetds
|
||
|
version=0.95.19
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
conf_files="/etc/freetds.conf /etc/locales.conf /etc/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=4c847f0c43734489ffc6ea8c5eb66e2a24e7a1ba4287acd24b2950f8b2eb7590
|
||
|
|
||
|
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"
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
noarch=yes
|
||
|
pkg_install() {
|
||
|
vmove /usr/share/doc
|
||
|
}
|
||
|
}
|