glvis@3.3: new package (#7166)

* glvis@3.3: new package

* mesa-glu: now provides 'glu' (GL Utility library)

* openglu: add package, provides glu

* [GLVis] Use MakefilePackage as base. Add 'develop' version.

Small tweaks in the makefile arguments.

* [GLVis] Locate the X11, GL and GLU libraries within their respective
prefixes. Set the C compiler in the makefile arguments.

* [GLVis] Fix a bug: the same variable was used for two different things.

* [libx11] Add the libs property

* [OpenGL] Add the libs property

* [OpenGLU] Add the libs property

* [GLVis] Use the libs properties of libx11, opengl, and openglu
This commit is contained in:
Geoffrey Oxberry
2018-04-17 05:48:48 -07:00
committed by Adam J. Stewart
parent 669b85e6bc
commit 40f0305bfa
4 changed files with 163 additions and 0 deletions

View File

@@ -88,3 +88,12 @@ def fetcher(self):
def install(self, spec, prefix):
pass
@property
def libs(self):
for dir in ['lib64', 'lib']:
libs = find_libraries('libGL', join_path(self.prefix, dir),
shared=True, recursive=False)
if libs:
return libs
return None