diff options
author | 2012-09-13 18:37:05 +0000 | |
---|---|---|
committer | 2012-09-13 18:37:05 +0000 | |
commit | be88df34e641336d524990bfd71cf72ea5d0c1f8 (patch) | |
tree | 392ba3aac0110aedf950e4ead5f880b4657d6fca /dev-db/libdbi | |
parent | Stable for X86, wrt bug #434806 (diff) | |
download | gentoo-2-be88df34e641336d524990bfd71cf72ea5d0c1f8.tar.gz gentoo-2-be88df34e641336d524990bfd71cf72ea5d0c1f8.tar.bz2 gentoo-2-be88df34e641336d524990bfd71cf72ea5d0c1f8.zip |
Redux a bit code complexity in latest ebuild.
(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/libdbi')
-rw-r--r-- | dev-db/libdbi/libdbi-0.8.4.ebuild | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/dev-db/libdbi/libdbi-0.8.4.ebuild b/dev-db/libdbi/libdbi-0.8.4.ebuild index 70f747cd68ff..ec71603a1166 100644 --- a/dev-db/libdbi/libdbi-0.8.4.ebuild +++ b/dev-db/libdbi/libdbi-0.8.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/libdbi-0.8.4.ebuild,v 1.3 2012/05/03 02:33:10 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/libdbi-0.8.4.ebuild,v 1.4 2012/09/13 18:37:05 scarabeus Exp $ EAPI=4 @@ -10,16 +10,21 @@ DESCRIPTION="libdbi implements a database-independent abstraction layer in C, si SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://libdbi.sourceforge.net/" LICENSE="LGPL-2.1" -RDEPEND="" -DEPEND=">=sys-apps/sed-4 - virtual/pkgconfig - doc? ( app-text/openjade ) - ${RDEPEND}" -PDEPEND=">=dev-db/libdbi-drivers-0.8.3" # On purpose, libdbi-drivers 0.8.4 does not exist + IUSE="doc" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" SLOT=0 +DOCS="AUTHORS ChangeLog README README.osx TODO" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + virtual/pkgconfig + doc? ( app-text/openjade ) +" +PDEPEND=">=dev-db/libdbi-drivers-0.8.3" # On purpose, libdbi-drivers 0.8.4 does not exist + src_unpack() { unpack ${A} chown -R portage:portage "${S}" @@ -40,13 +45,8 @@ src_configure() { econf $(use_enable doc docs) } -src_compile() { - emake || die "emake failed" -} - src_install () { - emake install DESTDIR="${ED}" || die "make install failed" - dodoc AUTHORS ChangeLog README README.osx TODO + default # syslog-ng requires dbi.pc insinto /usr/$(get_libdir)/pkgconfig/ |