commit:     f8e11d10f7cf30db86807eecbc4103d9b391648f
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  4 20:53:52 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Nov  4 20:55:31 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e11d10

dev-libs/pcre++: update to EAPI=5

 dev-libs/pcre++/pcre++-0.9.5-r1.ebuild | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild 
b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
index 8a8b374..751000a 100644
--- a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
+++ b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI="5"
+
 inherit eutils autotools
 
 DESCRIPTION="A C++ support library for libpcre"
@@ -17,10 +19,7 @@ IUSE=""
 DEPEND="dev-libs/libpcre"
 RDEPEND="${DEPEND}"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
+src_prepare() {
        EPATCH_SUFFIX="patch" \
        EPATCH_SOURCE="${WORKDIR}/${P}-patches" \
        EPATCH_FORCE="yes" \
@@ -30,11 +29,10 @@ src_unpack() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "make failed"
-       dodoc AUTHORS ChangeLog NEWS README TODO
+       default
 
        dohtml -r doc/html/.
        doman doc/man/man3/Pcre.3
 
-       rm -rf "${D}/usr/doc"
+       rm -rf "${ED}/usr/doc"
 }

Reply via email to