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:
committed by
Adam J. Stewart
parent
669b85e6bc
commit
40f0305bfa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user