diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-08-30 14:48:08 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-08-30 14:49:00 +0200 |
commit | e1d26a8b707391f2157551f7acf25f10eda43c21 (patch) | |
tree | c6007fb4edd82ddd843c786de36fc87d3cc51364 /media-libs/libgig | |
parent | e42da6890579c23e639725d00d2b045f101e88c1 (diff) | |
download | gentoo-e1d26a8b707391f2157551f7acf25f10eda43c21.tar.gz gentoo-e1d26a8b707391f2157551f7acf25f10eda43c21.tar.xz |
media-libs/libgig: add LDPATH env.d file so that libgig.so can be found at runtime
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-libs/libgig')
-rw-r--r-- | media-libs/libgig/libgig-4.0.0-r1.ebuild (renamed from media-libs/libgig/libgig-4.0.0.ebuild) | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/media-libs/libgig/libgig-4.0.0.ebuild b/media-libs/libgig/libgig-4.0.0-r1.ebuild index 2bce38d5f13..db4e49d73e3 100644 --- a/media-libs/libgig/libgig-4.0.0.ebuild +++ b/media-libs/libgig/libgig-4.0.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit eutils +inherit eutils multilib DESCRIPTION="a C++ library for loading Gigasampler files and DLS (Downloadable Sounds) Level 1/2 files" HOMEPAGE="http://www.linuxsampler.org/libgig/" @@ -33,6 +33,10 @@ src_install() { emake DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README TODO + # For libgig.so to be found at runtime + printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN} + doenvd "99${PN}" + if use doc ; then dohtml -r doc/html/* fi |