diff --git a/common/shlibs b/common/shlibs index 3406da3f3c5..6218bd88e32 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1268,3 +1268,5 @@ libclucene-shared.so.1 clucene-2.3.3.4_1 libclucene-contribs-lib.so.1 clucene-2.3.3.4_1 libodbcinst.so.2 libodbc-2.3.1_1 libodbc.so.2 libodbc-2.3.1_1 +libiodbc.so.2 libiodbc-3.52.8_1 +libiodbcinst.so.2 libiodbc-3.52.8_1 diff --git a/srcpkgs/libiodbc-devel b/srcpkgs/libiodbc-devel new file mode 120000 index 00000000000..cceb8445631 --- /dev/null +++ b/srcpkgs/libiodbc-devel @@ -0,0 +1 @@ +libiodbc \ No newline at end of file diff --git a/srcpkgs/libiodbc/template b/srcpkgs/libiodbc/template new file mode 100644 index 00000000000..48bb8fd1230 --- /dev/null +++ b/srcpkgs/libiodbc/template @@ -0,0 +1,37 @@ +# Template file for 'libiodbc' +pkgname=libiodbc +version=3.52.8 +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 " +license="LGPL-2.1" +homepage="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/" +distfiles="${SOURCEFORGE_SITE}/iodbc/${pkgname}-${version}.tar.gz" +checksum=18165501fbdb5ab8c445d07365907b77c0c20887aecf37ed2b88aacd9c59129a + +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 + } +} + +libiodbc_package() { + pkg_install() { + vmove all + } +}