32 lines
826 B
Bash
32 lines
826 B
Bash
# Template file for 'unixodbc'
|
|
pkgname=unixodbc
|
|
version=2.3.7
|
|
revision=2
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only, LGPL-2.1-or-later"
|
|
homepage="http://www.unixodbc.org"
|
|
distfiles="http://www.unixodbc.org/unixODBC-${version}.tar.gz"
|
|
checksum=45f169ba1f454a72b8fcbb82abd832630a3bf93baa84731cf2949f449e1e3e77
|
|
|
|
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"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|