Skip to content

Commit

Permalink
dev-util/astyle: [QA] fix dolib version for +java
Browse files Browse the repository at this point in the history
- Remove unused eutils eclass

Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
Amynka committed Mar 6, 2018
1 parent 3679ff8 commit 03617de
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6

inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2
inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2

DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and Java source code"
HOMEPAGE="http://astyle.sourceforge.net/"
Expand Down Expand Up @@ -57,11 +57,11 @@ src_install() {
# ex: libastyle.so.3
dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version)
if use java ; then
dolib.so lib${PN}j.so.${PV}
dosym lib${PN}j.so.${PV} /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version)
dolib.so lib${PN}j.so.${PV}.0
dosym lib${PN}j.so.${PV}.0 /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version)
fi
if use static-libs ; then
dolib lib${PN}.a
dolib.a lib${PN}.a
fi
popd >/dev/null || die
if use examples ; then
Expand All @@ -80,6 +80,6 @@ pkg_postinst() {
elog "deprecated. For more information, consult astyle's release notes at"
elog "http://astyle.sourceforge.net/news.html. To view offline, see:"
elog
elog "${ROOT}usr/share/doc/${P}/html"
elog "${EROOT%/}/usr/share/doc/${P}/html"
fi
}

0 comments on commit 03617de

Please sign in to comment.