void-packages/srcpkgs/unixodbc/template

31 lines
836 B
Plaintext

# Template file for 'unixodbc'
pkgname=unixodbc
version=2.3.2
revision=1
wrksrc="unixODBC-${version}"
build_style=gnu-configure
makedepends="libltdl-devel readline-devel>=6.3"
conf_files="/etc/odbcinst.ini /etc/odbc.ini"
short_desc="Basic ODBC tools"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.unixodbc.org"
update_site="http://www.unixodbc.org/download.html"
distfiles="http://www.unixodbc.org/unixODBC-${version}.tar.gz"
checksum=9c3459742f25df5aa3c10a61429bde51a6d4f11552c03095f1d33d7eb02b5c9a
libodbc_package() {
short_desc="ODBC library for Unix"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
unixodbc-devel_package() {
short_desc="ODBC library for Unix - development files"
depends="libodbc-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}