diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-09-04 17:26:00 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-09-04 17:26:00 +0000 |
commit | fa8eff00e1de9b1f1f2432fbd1e0163f40fc57ca (patch) | |
tree | c9e23b7b936e01ae308f3e4d14dcc302cb7bad7a /dev-db/libiodbc/libiodbc-3.52.5.ebuild | |
parent | Masking new Neverwinter Nights ebuilds until they're confirmed to work. (diff) | |
download | historical-fa8eff00e1de9b1f1f2432fbd1e0163f40fc57ca.tar.gz historical-fa8eff00e1de9b1f1f2432fbd1e0163f40fc57ca.tar.bz2 historical-fa8eff00e1de9b1f1f2432fbd1e0163f40fc57ca.zip |
Version bump from project overlay
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'dev-db/libiodbc/libiodbc-3.52.5.ebuild')
-rw-r--r-- | dev-db/libiodbc/libiodbc-3.52.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-db/libiodbc/libiodbc-3.52.5.ebuild b/dev-db/libiodbc/libiodbc-3.52.5.ebuild new file mode 100644 index 000000000000..08146356f469 --- /dev/null +++ b/dev-db/libiodbc/libiodbc-3.52.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.52.5.ebuild,v 1.1 2007/09/04 17:26:00 jokey 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+-1.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 +} |