30 lines
790 B
Bash
30 lines
790 B
Bash
# Template file for 'unixodbc'
|
|
pkgname=unixodbc
|
|
version=2.3.4
|
|
revision=1
|
|
wrksrc="unixODBC-${version}"
|
|
build_style=gnu-configure
|
|
makedepends="libltdl-devel readline-devel"
|
|
conf_files="/etc/odbcinst.ini /etc/odbc.ini"
|
|
short_desc="Basic ODBC tools"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://www.unixodbc.org"
|
|
distfiles="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${version}.tar.gz"
|
|
checksum=2e1509a96bb18d248bf08ead0d74804957304ff7c6f8b2e5965309c632421e39
|
|
|
|
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
|
|
}
|
|
}
|