1 |
commit: f8e11d10f7cf30db86807eecbc4103d9b391648f |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 4 20:53:52 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 4 20:55:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e11d10 |
7 |
|
8 |
dev-libs/pcre++: update to EAPI=5 |
9 |
|
10 |
dev-libs/pcre++/pcre++-0.9.5-r1.ebuild | 14 ++++++-------- |
11 |
1 file changed, 6 insertions(+), 8 deletions(-) |
12 |
|
13 |
diff --git a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild |
14 |
index 8a8b374..751000a 100644 |
15 |
--- a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild |
16 |
+++ b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild |
17 |
@@ -1,7 +1,9 @@ |
18 |
-# Copyright 1999-2009 Gentoo Foundation |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
+EAPI="5" |
24 |
+ |
25 |
inherit eutils autotools |
26 |
|
27 |
DESCRIPTION="A C++ support library for libpcre" |
28 |
@@ -17,10 +19,7 @@ IUSE="" |
29 |
DEPEND="dev-libs/libpcre" |
30 |
RDEPEND="${DEPEND}" |
31 |
|
32 |
-src_unpack() { |
33 |
- unpack ${A} |
34 |
- cd "${S}" |
35 |
- |
36 |
+src_prepare() { |
37 |
EPATCH_SUFFIX="patch" \ |
38 |
EPATCH_SOURCE="${WORKDIR}/${P}-patches" \ |
39 |
EPATCH_FORCE="yes" \ |
40 |
@@ -30,11 +29,10 @@ src_unpack() { |
41 |
} |
42 |
|
43 |
src_install() { |
44 |
- emake DESTDIR="${D}" install || die "make failed" |
45 |
- dodoc AUTHORS ChangeLog NEWS README TODO |
46 |
+ default |
47 |
|
48 |
dohtml -r doc/html/. |
49 |
doman doc/man/man3/Pcre.3 |
50 |
|
51 |
- rm -rf "${D}/usr/doc" |
52 |
+ rm -rf "${ED}/usr/doc" |
53 |
} |