2013-06-16 16:55:39 +00:00
|
|
|
# Template file for 'unixodbc'
|
|
|
|
pkgname=unixodbc
|
2014-11-24 16:46:20 +00:00
|
|
|
version=2.3.2
|
|
|
|
revision=1
|
2013-06-16 16:55:39 +00:00
|
|
|
wrksrc="unixODBC-${version}"
|
|
|
|
build_style=gnu-configure
|
2014-02-27 13:54:19 +00:00
|
|
|
makedepends="libltdl-devel readline-devel>=6.3"
|
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"
|
2014-11-03 14:51:42 +00:00
|
|
|
update_site="http://www.unixodbc.org/download.html"
|
2013-06-16 16:55:39 +00:00
|
|
|
distfiles="http://www.unixodbc.org/unixODBC-${version}.tar.gz"
|
2014-11-24 16:46:20 +00:00
|
|
|
checksum=9c3459742f25df5aa3c10a61429bde51a6d4f11552c03095f1d33d7eb02b5c9a
|
2013-06-16 16:55:39 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|