summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-04 15:53:52 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-04 15:55:31 -0500
commitf8e11d10f7cf30db86807eecbc4103d9b391648f (patch)
tree81b75afda627816adef190c1daadf37c9faefb30 /dev-libs/pcre++
parentAdded django-treebeard package (diff)
downloadgentoo-f8e11d10f7cf30db86807eecbc4103d9b391648f.tar.gz
gentoo-f8e11d10f7cf30db86807eecbc4103d9b391648f.tar.bz2
gentoo-f8e11d10f7cf30db86807eecbc4103d9b391648f.zip
dev-libs/pcre++: update to EAPI=5
Diffstat (limited to 'dev-libs/pcre++')
-rw-r--r--dev-libs/pcre++/pcre++-0.9.5-r1.ebuild14
1 files 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 8a8b374be09c..751000a3acf6 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"
}