diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-12-09 16:04:24 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-09 16:04:24 +0000 |
commit | e3fa7373f80b05c6acd7ef062ae5651d7f51fa0f (patch) | |
tree | baa1e3b427c991bbfc22895644060aa85ec59a9b /dev-db/unixODBC | |
parent | Apply (retabbed) patch that makes ruby2.x tests succeed. Add ruby20, ruby21 t... (diff) | |
download | gentoo-2-e3fa7373f80b05c6acd7ef062ae5651d7f51fa0f.tar.gz gentoo-2-e3fa7373f80b05c6acd7ef062ae5651d7f51fa0f.tar.bz2 gentoo-2-e3fa7373f80b05c6acd7ef062ae5651d7f51fa0f.zip |
Wrap odbc_config, noted thanks to bug #530552.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-db/unixODBC')
-rw-r--r-- | dev-db/unixODBC/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-db/unixODBC/ChangeLog b/dev-db/unixODBC/ChangeLog index 0bf0fae231bf..19aaac165ead 100644 --- a/dev-db/unixODBC/ChangeLog +++ b/dev-db/unixODBC/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/unixODBC # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.121 2014/12/06 17:32:36 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.122 2014/12/09 16:04:24 mgorny Exp $ + +*unixODBC-2.3.2-r2 (09 Dec 2014) + + 09 Dec 2014; Michał Górny <mgorny@gentoo.org> +unixODBC-2.3.2-r2.ebuild: + Wrap odbc_config, noted thanks to bug #530552. 06 Dec 2014; Jeroen Roovers <jer@gentoo.org> unixODBC-2.3.2-r1.ebuild: Stable for HPPA (bug #525288). diff --git a/dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild b/dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild new file mode 100644 index 000000000000..4a6ecf6f003f --- /dev/null +++ b/dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.2-r2.ebuild,v 1.1 2014/12/09 16:04:24 mgorny Exp $ + +EAPI=5 +inherit libtool autotools-multilib eutils + +DESCRIPTION="A complete ODBC driver manager" +HOMEPAGE="http://www.unixodbc.org/" +SRC_URI="http://ftp.unixodbc.org/pub/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+minimal odbcmanual static-libs unicode" + +RDEPEND="|| ( + dev-libs/libltdl:0[${MULTILIB_USEDEP}] + >=sys-devel/libtool-2.4.2-r1[${MULTILIB_USEDEP}] + ) + >=sys-libs/readline-6.2_p5-r1[${MULTILIB_USEDEP}] + >=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}] + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !app-emulation/emul-linux-x86-db[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + sys-devel/flex" + +DOCS="AUTHORS ChangeLog NEWS README" +MULTILIB_CHOST_TOOLS=( /usr/bin/odbc_config ) +MULTILIB_WRAPPED_HEADERS=( /usr/include/unixodbc_conf.h ) + +src_configure() { + # --enable-driver-conf is --enable-driverc as per configure.in + myeconfargs=( + --sysconfdir="${EPREFIX}"/etc/${PN} + --enable-iconv + $(use_enable static-libs static) + $(use_enable !minimal drivers) + $(use_enable !minimal driverc) + $(use_with unicode iconv-char-enc UTF8) + $(use_with unicode iconv-ucode-enc UTF16LE) + ) + autotools-multilib_src_configure +} + +multilib_src_install_all() { + einstalldocs + + use prefix && dodoc README* + use odbcmanual && dohtml -a css,gif,html,sql,vsd -r doc/* + + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} |