2013-06-16 18:55:39 +02:00
|
|
|
# Template file for 'unixodbc'
|
|
|
|
pkgname=unixodbc
|
|
|
|
version=2.3.1
|
2014-02-27 14:54:19 +01:00
|
|
|
revision=2
|
2013-06-16 18:55:39 +02:00
|
|
|
wrksrc="unixODBC-${version}"
|
|
|
|
build_style=gnu-configure
|
2014-02-27 14:54:19 +01:00
|
|
|
makedepends="libltdl-devel readline-devel>=6.3"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/odbcinst.ini /etc/odbc.ini"
|
2013-06-16 18:55:39 +02: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"
|
|
|
|
}
|
|
|
|
}
|