Skip to content

Commit

Permalink
media-libs/libgig: add LDPATH env.d file so that libgig.so can be fou…
Browse files Browse the repository at this point in the history
…nd at runtime

Package-Manager: portage-2.3.0
  • Loading branch information
aballier committed Aug 30, 2016
1 parent e42da68 commit e1d26a8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e1d26a8

Please sign in to comment.