32 lines
917 B
Plaintext
32 lines
917 B
Plaintext
# Template file for 'libiodbc'
|
|
pkgname=libiodbc
|
|
version=3.52.9
|
|
revision=1
|
|
hostmakedepends="chrpath"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-gui
|
|
--disable-libodbc --includedir=/usr/include/libiodbc"
|
|
short_desc="Independent Open DataBase Connectivity"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
|
|
distfiles="${SOURCEFORGE_SITE}/iodbc/${pkgname}-${version}.tar.gz"
|
|
checksum=33207d9f477aa5fa76962ff644baa38e59255b96812f28574794659fb61a7ab2
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share/libiodbc
|
|
chrpath -d ${DESTDIR}/usr/bin/iodbctest{,w}
|
|
}
|
|
|
|
libiodbc-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/iodbc-config
|
|
vmove usr/share/man/man1/iodbc-config.1
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|