gnu: glew: Omit static library.
* gnu/packages/gl.scm (glew)[arguments]: Add phase to delete libGLEW.a. While at it, convert to G-expression.
This commit is contained in:
parent
44c0b5d467
commit
0be8dd1990
@ -634,12 +634,15 @@ glxgears, glxheads, and glxinfo.")
|
|||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases (delete 'configure))
|
(list #:make-flags #~(list (string-append "GLEW_PREFIX=" #$output)
|
||||||
#:make-flags (list (string-append "GLEW_PREFIX="
|
(string-append "GLEW_DEST=" #$output))
|
||||||
(assoc-ref %outputs "out"))
|
#:phases
|
||||||
(string-append "GLEW_DEST="
|
#~(modify-phases %standard-phases
|
||||||
(assoc-ref %outputs "out")))
|
(delete 'configure)
|
||||||
#:tests? #f)) ;no 'check' target
|
(add-after 'install 'delete-static
|
||||||
|
(lambda _
|
||||||
|
(delete-file (string-append #$output "/lib/libGLEW.a")))))
|
||||||
|
#:tests? #f)) ;no 'check' target
|
||||||
(inputs
|
(inputs
|
||||||
(list libxi libxmu libx11 mesa))
|
(list libxi libxmu libx11 mesa))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user