diff options
Diffstat (limited to 'dev-db/libiodbc/libiodbc-3.51.2.ebuild')
-rw-r--r-- | dev-db/libiodbc/libiodbc-3.51.2.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-db/libiodbc/libiodbc-3.51.2.ebuild b/dev-db/libiodbc/libiodbc-3.51.2.ebuild index 92fd1b03b298..5b1ec1d33fbd 100644 --- a/dev-db/libiodbc/libiodbc-3.51.2.ebuild +++ b/dev-db/libiodbc/libiodbc-3.51.2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.51.2.ebuild,v 1.1 2004/03/04 13:18:59 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.51.2.ebuild,v 1.1.1.1 2005/11/30 10:11:40 chriswhite Exp $ + +inherit eutils DESCRIPTION="ODBC Interface for Linux" HOMEPAGE="http://www.iodbc.org/" @@ -8,26 +10,25 @@ SRC_URI="http://www.iodbc.org/downloads/iODBC/${P}.tar.gz" LICENSE="LGPL-2 BSD" SLOT="0" -KEYWORDS="~x86 ~ppc ~hppa ~alpha ~amd64" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="gtk" -DEPEND="virtual/glibc +DEPEND="virtual/libc >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 - gtk? ( >=x11-libs/gtk+-1.2.10* )" + gtk? ( >=x11-libs/gtk+-1.2.10 )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/libiodbc-3.51.2_install_symlink.diff - cd ${S} } src_compile() { local myconf myconf="--with-layout=gentoo" - if [ "`use gtk`" ] + if use gtk then myconf="$myconf --enable-gui=yes" else @@ -41,7 +42,7 @@ src_compile() { src_install() { make DESTDIR=${D} install || die - #dodoc AUTHORS COPYING ChangeLog NEWS README* + #dodoc AUTHORS ChangeLog NEWS README* #find doc/ -name "Makefile*" -exec rm '{}' \; #dohtml doc/* #prepalldocs |