Skip to content

Commit

Permalink
dev-libs/pcre++: update to EAPI=5
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Nov 4, 2015
1 parent bd0a19f commit f8e11d1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" \
Expand All @@ -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"
}

0 comments on commit f8e11d1

Please sign in to comment.