diff --git a/common/shlibs b/common/shlibs index f56d8bfe4fb..3406da3f3c5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1266,3 +1266,5 @@ libkdecore.so.5 kdelibs-4.10.4_1 libclucene-core.so.1 clucene-2.3.3.4_1 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 diff --git a/srcpkgs/libodbc b/srcpkgs/libodbc new file mode 120000 index 00000000000..d7f17c627b4 --- /dev/null +++ b/srcpkgs/libodbc @@ -0,0 +1 @@ +unixodbc \ No newline at end of file diff --git a/srcpkgs/unixodbc-devel b/srcpkgs/unixodbc-devel new file mode 120000 index 00000000000..d7f17c627b4 --- /dev/null +++ b/srcpkgs/unixodbc-devel @@ -0,0 +1 @@ +unixodbc \ No newline at end of file diff --git a/srcpkgs/unixodbc/template b/srcpkgs/unixodbc/template new file mode 100644 index 00000000000..b3cc8e26ed6 --- /dev/null +++ b/srcpkgs/unixodbc/template @@ -0,0 +1,36 @@ +# Template file for 'unixodbc' +pkgname=unixodbc +version=2.3.1 +revision=1 +wrksrc="unixODBC-${version}" +build_style=gnu-configure +makedepends="libltdl-devel readline-devel" +short_desc="Basic ODBC tools" +maintainer="Juan RP " +license="GPL-2, LGPL-2.1" +homepage="http://www.unixodbc.org" +distfiles="http://www.unixodbc.org/unixODBC-${version}.tar.gz" +checksum=1f5be3edecff9e31072ef738ea1d8019594c4f0c2e3ab427e6eef153491db6a2 + +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" + } +} + +unixodbc_package() { + conf_files="/etc/odbcinst.ini /etc/odbc.ini" + pkg_install() { + vmove all + } +}