Skip to content

Commit

Permalink
dev-util/astyle: install unversioned so files
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/647350
Closes: gentoo#7160
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
Virgil Dupras authored and Amynka committed Mar 6, 2018
1 parent 51b91b4 commit ec836f1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions dev-util/astyle/astyle-3.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@ src_install() {
dobin ${PN}

# ex: libastyle.so.3.0.1
dolib.so lib${PN}.so.${PV}.0
local libastylename=lib${PN}.so.${PV}.0
dolib.so ${libastylename}
# ex: libastyle.so.3
dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version)
local libdestdir=/usr/$(get_libdir)
dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version)
dosym ${libastylename} ${libdestdir}/lib${PN}.so
if use java ; then
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)
local libastylejname=lib${PN}j.so.${PV}.0
dolib.so ${libastylejname}
dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version)
dosym ${libastylejname} ${libdestdir}/lib${PN}j.so
fi
if use static-libs ; then
dolib.a lib${PN}.a
Expand Down

0 comments on commit ec836f1

Please sign in to comment.