diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-17 02:35:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-17 02:35:22 +0000 |
commit | 84e6ead5a9683abbce54e58d3873b150e239f705 (patch) | |
tree | e146cf9989ef55a01aa5754d36eb67bcf7e5f012 /dev-db | |
parent | Stable for bug 118920, and future perl modules (diff) | |
download | gentoo-2-84e6ead5a9683abbce54e58d3873b150e239f705.tar.gz gentoo-2-84e6ead5a9683abbce54e58d3873b150e239f705.tar.bz2 gentoo-2-84e6ead5a9683abbce54e58d3873b150e239f705.zip |
Use econf like a good package.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libiodbc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/libiodbc/libiodbc-3.51.2.ebuild | 35 |
2 files changed, 20 insertions, 22 deletions
diff --git a/dev-db/libiodbc/ChangeLog b/dev-db/libiodbc/ChangeLog index b58e809f3066..d0e667f187e9 100644 --- a/dev-db/libiodbc/ChangeLog +++ b/dev-db/libiodbc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-db/libiodbc -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/ChangeLog,v 1.11 2005/06/12 12:10:55 swegener Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/ChangeLog,v 1.12 2006/01/17 02:35:22 vapier Exp $ + + 17 Jan 2006; Mike Frysinger <vapier@gentoo.org> libiodbc-3.51.2.ebuild: + Use econf like a good package. 12 Jun 2005; Sven Wegener <swegener@gentoo.org> libiodbc-3.51.2.ebuild: Removed * postfix from <, <=, >= and > dependencies. diff --git a/dev-db/libiodbc/libiodbc-3.51.2.ebuild b/dev-db/libiodbc/libiodbc-3.51.2.ebuild index 1fc912ed3076..783d7427897e 100644 --- a/dev-db/libiodbc/libiodbc-3.51.2.ebuild +++ b/dev-db/libiodbc/libiodbc-3.51.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# 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.51.2.ebuild,v 1.10 2005/11/01 01:41:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.51.2.ebuild,v 1.11 2006/01/17 02:35:22 vapier Exp $ inherit eutils @@ -13,37 +13,32 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="gtk" -DEPEND="virtual/libc - >=sys-libs/readline-4.1 +DEPEND=">=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 gtk? ( >=x11-libs/gtk+-1.2.10 )" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/libiodbc-3.51.2_install_symlink.diff + cd "${S}" + epatch "${FILESDIR}"/libiodbc-3.51.2_install_symlink.diff } src_compile() { - local myconf - myconf="--with-layout=gentoo" - - if use gtk - then - myconf="$myconf --enable-gui=yes" - else - myconf="$myconf --disable-gui" - fi - - ./configure --host=${CHOST} ${myconf} || die + local myconf="" + use gtk \ + && myconf="${myconf} --enable-gui=yes" \ + || myconf="${myconf} --disable-gui" + + econf \ + --with-layout=gentoo \ + ${myconf} || die make || die } src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die - #dodoc AUTHORS ChangeLog NEWS README* + dodoc AUTHORS ChangeLog NEWS README* #find doc/ -name "Makefile*" -exec rm '{}' \; #dohtml doc/* - #prepalldocs } |