summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-12-01 16:31:25 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-12-01 16:31:25 +0000
commit9dafacf0974de0efe1d7d3343d4a225a784cac63 (patch)
treea9360f7bc7116e61cdd342bc54cc1b9561523cfc /dev-db/libiodbc/libiodbc-3.51.2.ebuild
parentppc stable, bug #156420 (diff)
downloadgentoo-2-9dafacf0974de0efe1d7d3343d4a225a784cac63.tar.gz
gentoo-2-9dafacf0974de0efe1d7d3343d4a225a784cac63.tar.bz2
gentoo-2-9dafacf0974de0efe1d7d3343d4a225a784cac63.zip
PHP herd takes over maintainance, cleanup ebuilds.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'dev-db/libiodbc/libiodbc-3.51.2.ebuild')
-rw-r--r--dev-db/libiodbc/libiodbc-3.51.2.ebuild30
1 files changed, 13 insertions, 17 deletions
diff --git a/dev-db/libiodbc/libiodbc-3.51.2.ebuild b/dev-db/libiodbc/libiodbc-3.51.2.ebuild
index 7f322f88e3f3..d1cad1d232d1 100644
--- a/dev-db/libiodbc/libiodbc-3.51.2.ebuild
+++ b/dev-db/libiodbc/libiodbc-3.51.2.ebuild
@@ -1,44 +1,40 @@
# 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.19 2006/01/21 23:07:08 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.51.2.ebuild,v 1.20 2006/12/01 16:31:25 chtekk Exp $
inherit eutils
-DESCRIPTION="ODBC Interface for Linux"
+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"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
IUSE="gtk"
DEPEND=">=sys-libs/readline-4.1
- >=sys-libs/ncurses-5.2
- gtk? ( >=x11-libs/gtk+-1.2.10 )"
+ >=sys-libs/ncurses-5.2
+ gtk? ( >=x11-libs/gtk+-1.2.10 )"
+RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/libiodbc-3.51.2_install_symlink.diff
+ epatch "${FILESDIR}/${P}_install_symlink.diff"
}
src_compile() {
- local myconf=""
- use gtk \
- && myconf="${myconf} --enable-gui=yes" \
- || myconf="${myconf} --disable-gui"
-
econf \
--with-layout=gentoo \
- ${myconf} || die
- make || die
+ $(use_enable gtk gui yes) \
+ || die "econf failed"
+
+ emake -j1 || die "emake failed"
}
src_install() {
- make DESTDIR="${D}" install || die
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README*
- #find doc/ -name "Makefile*" -exec rm '{}' \;
- #dohtml doc/*
}