Skip to content

Commit

Permalink
media-gfx/pstoedit: update to EAPI 6
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Dec 10, 2016
1 parent fed7f21 commit 6dcaaf4
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions media-gfx/pstoedit/pstoedit-3.70-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6

inherit autotools eutils
inherit autotools

DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
HOMEPAGE="https://sourceforge.net/projects/pstoedit/"
Expand All @@ -28,15 +28,19 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"

PATCHES=(
"${FILESDIR}"/${PN}-3.60-libdl.patch
"${FILESDIR}"/${PN}-3.70-pkgconfig.patch
)

src_prepare() {
default

sed -i \
-e '/CXXFLAGS="-g"/d' \
-e 's:-pedantic::' \
configure.ac || die

epatch "${FILESDIR}"/${PN}-3.60-libdl.patch
epatch "${FILESDIR}"/${PN}-3.70-pkgconfig.patch

eautoreconf
}

Expand All @@ -54,7 +58,8 @@ src_install() {
default
doman doc/pstoedit.1
dodoc doc/*.txt
dohtml doc/*.htm
docinto html
dodoc doc/*.htm

find "${ED}" -name '*.la' -delete
}

0 comments on commit 6dcaaf4

Please sign in to comment.