[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: glew: Omit static library.
From: |
guix-commits |
Subject: |
07/15: gnu: glew: Omit static library. |
Date: |
Sun, 20 Nov 2022 11:21:11 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit 0be8dd19903cbdc07a434bec5f6af1e640e3eef3
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Nov 20 14:32:47 2022 +0100
gnu: glew: Omit static library.
* gnu/packages/gl.scm (glew)[arguments]: Add phase to delete libGLEW.a.
While
at it, convert to G-expression.
---
gnu/packages/gl.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index d45e4f0d8e..00b04d0cc9 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -634,12 +634,15 @@ glxgears, glxheads, and glxinfo.")
#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))
- branch staging updated (e43df543a8 -> cae97cd773), guix-commits, 2022/11/20
- 02/15: gnu: libical: Update to 3.0.16., guix-commits, 2022/11/20
- 13/15: gnu: libpipeline: Update to 1.5.6., guix-commits, 2022/11/20
- 01/15: gnu: freeglut: Update to 3.4.0., guix-commits, 2022/11/20
- 12/15: gnu: perl-io-socket-ssl: Update to 2.075., guix-commits, 2022/11/20
- 10/15: gnu: perl-test-fatal: Update to 0.016., guix-commits, 2022/11/20
- 08/15: gnu: perl-http-message: Update to 6.37., guix-commits, 2022/11/20
- 03/15: gnu: libwebp: Update to 1.2.4., guix-commits, 2022/11/20
- 07/15: gnu: glew: Omit static library.,
guix-commits <=
- 09/15: gnu: perl-try-tiny: Update to 0.31., guix-commits, 2022/11/20
- 04/15: gnu: bluez: Update to 5.66., guix-commits, 2022/11/20
- 15/15: gnu: Add vulkan-memory-allocator., guix-commits, 2022/11/20
- 06/15: gnu: glew: Update to 2.2.0., guix-commits, 2022/11/20
- 11/15: gnu: perl-http-daemon: Update to 6.14., guix-commits, 2022/11/20
- 14/15: gnu: libseccomp: Update to 2.5.4., guix-commits, 2022/11/20
- 05/15: gnu: OpenAL: Update to 1.22.2., guix-commits, 2022/11/20