diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-25 23:49:07 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-25 23:49:07 +0000 |
commit | 9d634ed6fc1cb2d90ea58d4600287b970c86272d (patch) | |
tree | 00c2467ad965d51b2885b51b71a5e9bd85e36a43 /dev-db/libiodbc/libiodbc-3.52.4.ebuild | |
parent | Marked ppc stable for bug #130172. (diff) | |
download | historical-9d634ed6fc1cb2d90ea58d4600287b970c86272d.tar.gz historical-9d634ed6fc1cb2d90ea58d4600287b970c86272d.tar.bz2 historical-9d634ed6fc1cb2d90ea58d4600287b970c86272d.zip |
Bug #109685, version bump and QA cleanup.
Package-Manager: portage-2.1_rc2
Diffstat (limited to 'dev-db/libiodbc/libiodbc-3.52.4.ebuild')
-rw-r--r-- | dev-db/libiodbc/libiodbc-3.52.4.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-db/libiodbc/libiodbc-3.52.4.ebuild b/dev-db/libiodbc/libiodbc-3.52.4.ebuild new file mode 100644 index 000000000000..1ec6295d97c8 --- /dev/null +++ b/dev-db/libiodbc/libiodbc-3.52.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.52.4.ebuild,v 1.1 2006/05/25 23:49:07 robbat2 Exp $ + +inherit eutils autotools + +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" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="gtk" + +DEPEND="virtual/libc + >=sys-libs/readline-4.1 + >=sys-libs/ncurses-5.2 + gtk? ( >=x11-libs/gtk+-1.2.10 )" + +# upstream does weird stuff in their configure +RESTRICT='confcache' + +src_unpack() { + unpack ${A} + sed -i.orig -e '/^cd "$PREFIX"/,/^esac/d' \ + ${S}/iodbc/install_libodbc.sh || die "sed failed" + cd ${S} + #autoupdate configure.in acinclude.m4 || die "autoupdate failed" + #eautoreconf || die "eautoreconf failed" +} + +src_compile() { + econf \ + --with-layout=gentoo \ + $(use_enable gtk gui yes) \ + # not parallel safe + emake -j1 || die +} + +src_install() { + # not parallel safe + emake -j1 DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README* + #find doc/ -name "Makefile*" -exec rm '{}' \; + #dohtml doc/* +} |