31 lines
800 B
Bash
31 lines
800 B
Bash
# Template file for 'unixodbc'
|
|
pkgname=unixodbc
|
|
version=2.3.11
|
|
revision=1
|
|
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="https://www.unixodbc.org"
|
|
distfiles="https://www.unixodbc.org/unixODBC-${version}.tar.gz"
|
|
checksum=d9e55c8e7118347e3c66c87338856dad1516b490fb7c756c1562a2c267c73b5c
|
|
|
|
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
|
|
}
|
|
}
|