2013-06-16 17:26:20 +00:00
|
|
|
# Template file for 'libiodbc'
|
|
|
|
pkgname=libiodbc
|
2015-02-21 08:19:26 +00:00
|
|
|
version=3.52.10
|
2015-01-25 09:04:54 +00:00
|
|
|
revision=1
|
2013-06-16 17:26:20 +00:00
|
|
|
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"
|
2015-02-21 08:19:26 +00:00
|
|
|
checksum=1568b42b4e97f36110af661d39bfea7d94ac4ff020014574b16a7199f068e11f
|
2013-06-16 17:26:20 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|