diff options
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libiodbc/ChangeLog | 11 | ||||
-rw-r--r-- | dev-db/libiodbc/libiodbc-3.52.7.ebuild | 39 |
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-db/libiodbc/ChangeLog b/dev-db/libiodbc/ChangeLog index c60a9d7a73ec..19185e479c2b 100644 --- a/dev-db/libiodbc/ChangeLog +++ b/dev-db/libiodbc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/libiodbc -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/ChangeLog,v 1.41 2007/12/31 12:27:28 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/ChangeLog,v 1.42 2009/10/05 15:33:22 hoffie Exp $ + +*libiodbc-3.52.7 (05 Oct 2009) + + 05 Oct 2009; Christian Hoffmann <hoffie@gentoo.org> + +libiodbc-3.52.7.ebuild: + version bump, should fix bug 286525, thanks a lot to Juergen Rose + <rose@rz.uni-potsdam.de> and Rafał Mużyło <galtgendo@o2.pl> 31 Dec 2007; Raúl Porcel <armin76@gentoo.org> libiodbc-3.52.6.ebuild: alpha/ia64/sparc stable wrt #203633 diff --git a/dev-db/libiodbc/libiodbc-3.52.7.ebuild b/dev-db/libiodbc/libiodbc-3.52.7.ebuild new file mode 100644 index 000000000000..d7ea85f3b19d --- /dev/null +++ b/dev-db/libiodbc/libiodbc-3.52.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.52.7.ebuild,v 1.1 2009/10/05 15:33:22 hoffie Exp $ + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +DESCRIPTION="ODBC Interface for Linux." +HOMEPAGE="http://www.iodbc.org/" +SRC_URI="http://www.iodbc.org/downloads/iODBC/${P}.tar.gz" +LICENSE="|| ( LGPL-2 BSD )" +SLOT="0" +IUSE="gtk" + +DEPEND=">=sys-libs/readline-4.1 + >=sys-libs/ncurses-5.2 + gtk? ( =x11-libs/gtk+-2* )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i.orig \ + -e '/^cd "$PREFIX"/,/^esac/d' \ + iodbc/install_libodbc.sh || die "sed failed" +} + +src_compile() { + econf \ + --with-layout=gentoo \ + $(use_enable gtk gui) \ + || die "econf failed" + + emake -j1 || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README +} |