Skip to content

Commit

Permalink
dev-libs/librevenge: EAPI 6, drop eutils.eclass
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
a17r authored and akhuettel committed Dec 17, 2016
1 parent d58e1fa commit 4a202c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dev-libs/librevenge/librevenge-0.0.4.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 eutils multilib-minimal
inherit multilib-minimal

DESCRIPTION="A helper library for REVerse ENGineered formats filters"
HOMEPAGE="http://sf.net/p/libwpd/librevenge"
Expand All @@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
"

src_prepare() {
default
[[ ${PV} = 9999 ]] && eautoreconf
}

Expand All @@ -40,10 +41,9 @@ multilib_src_configure() {
--disable-static \
--disable-werror \
$(use_with doc docs) \
$(use_enable test tests) \
--docdir="${EPREFIX}/usr/share/doc/${PF}"
$(use_enable test tests)
}

multilib_src_install_all() {
prune_libtool_files --all
find "${D}" -name '*.la' -delete || die
}
9 changes: 4 additions & 5 deletions dev-libs/librevenge/librevenge-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI=6

inherit eutils multilib-minimal
inherit multilib-minimal

DESCRIPTION="A helper library for REVerse ENGineered formats filters"
HOMEPAGE="http://sf.net/p/libwpd/librevenge"
Expand All @@ -31,7 +31,7 @@ DEPEND="${RDEPEND}
"

src_prepare() {
eapply_user
default
[[ ${PV} = 9999 ]] && eautoreconf
}

Expand All @@ -41,10 +41,9 @@ multilib_src_configure() {
--disable-static \
--disable-werror \
$(use_with doc docs) \
$(use_enable test tests) \
--docdir="${EPREFIX}/usr/share/doc/${PF}"
$(use_enable test tests)
}

multilib_src_install_all() {
prune_libtool_files --all
find "${D}" -name '*.la' -delete || die
}

0 comments on commit 4a202c9

Please sign in to comment.