2013-06-16 16:55:39 +00:00
|
|
|
# Template file for 'unixodbc'
|
|
|
|
pkgname=unixodbc
|
|
|
|
version=2.3.1
|
|
|
|
revision=1
|
|
|
|
wrksrc="unixODBC-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
makedepends="libltdl-devel readline-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/odbcinst.ini /etc/odbc.ini"
|
2013-06-16 16:55:39 +00:00
|
|
|
short_desc="Basic ODBC tools"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
|
|
|
homepage="http://www.unixodbc.org"
|
|
|
|
distfiles="http://www.unixodbc.org/unixODBC-${version}.tar.gz"
|
|
|
|
checksum=1f5be3edecff9e31072ef738ea1d8019594c4f0c2e3ab427e6eef153491db6a2
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|