31 lines
785 B
Plaintext
31 lines
785 B
Plaintext
# Template file for 'unixodbc'
|
|
pkgname=unixodbc
|
|
version=2.3.1
|
|
revision=2
|
|
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"
|
|
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"
|
|
}
|
|
}
|