mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
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
1 changed files with 9 additions and 6 deletions
|
@ -634,12 +634,15 @@ (define-public glew
|
|||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases (delete 'configure))
|
||||
#:make-flags (list (string-append "GLEW_PREFIX="
|
||||
(assoc-ref %outputs "out"))
|
||||
(string-append "GLEW_DEST="
|
||||
(assoc-ref %outputs "out")))
|
||||
#:tests? #f)) ;no 'check' target
|
||||
(list #:make-flags #~(list (string-append "GLEW_PREFIX=" #$output)
|
||||
(string-append "GLEW_DEST=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'install 'delete-static
|
||||
(lambda _
|
||||
(delete-file (string-append #$output "/lib/libGLEW.a")))))
|
||||
#:tests? #f)) ;no 'check' target
|
||||
(inputs
|
||||
(list libxi libxmu libx11 mesa))
|
||||
|
||||
|
|
Loading…
Reference in a new issue