[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: mysql: Strip references and GCC and other build-time depende
From: |
Ludovic Courtès |
Subject: |
03/09: gnu: mysql: Strip references and GCC and other build-time dependencies. |
Date: |
Fri, 03 Jul 2015 13:36:14 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 3f289db69d8e3a75fb0beab4606c350133b8ace3
Author: Ludovic Courtès <address@hidden>
Date: Fri Jun 26 23:39:31 2015 +0200
gnu: mysql: Strip references and GCC and other build-time dependencies.
* gnu/packages/databases.scm (mysql)[arguments]: Add
'strip-extra-references'
phase.
---
gnu/packages/databases.scm | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 3ab2fcd..5185e3e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -133,7 +133,19 @@ SQL, Key/Value, XML/XQuery or Java Object storage for
their data model.")
"-DINSTALL_SHAREDIR=share/mysql"
;; Get rid of test data.
"-DINSTALL_MYSQLTESTDIR="
- "-DINSTALL_SQLBENCHDIR=")))
+ "-DINSTALL_SQLBENCHDIR=")
+ #:phases (modify-phases %standard-phases
+ (add-after
+ 'install 'strip-extra-references
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Strip references to GCC and other build-time
+ ;; dependencies.
+ (let ((out (assoc-ref outputs "out")))
+ (for-each remove-store-references
+ (list (string-append out "/bin/mysqlbug")
+ (string-append
+ out "/share/mysql/docs/INFO_BIN")))
+ #t))))))
(native-inputs
`(("bison" ,bison)
("perl" ,perl)))
- branch master updated (4a6aeb6 -> 606c638), Ludovic Courtès, 2015/07/03
- 03/09: gnu: mysql: Strip references and GCC and other build-time dependencies.,
Ludovic Courtès <=
- 07/09: gnu: qt-4: Use a more standard directory layout., Ludovic Courtès, 2015/07/03
- 09/09: gnu: gnutls: Move man3 pages to "doc" output., Ludovic Courtès, 2015/07/03
- 02/09: gnu: mutt: Don't retain reference to GCC., Ludovic Courtès, 2015/07/03
- 01/09: gnu: ghostscript: Add "doc" output., Ludovic Courtès, 2015/07/03
- 04/09: gnu: mysql: Remove unnecessary binaries., Ludovic Courtès, 2015/07/03
- 06/09: gnu: qt-4: Use 'modify-phases'., Ludovic Courtès, 2015/07/03
- 05/09: gnu: cups-filter: Install backends and filters under lib/cups., Ludovic Courtès, 2015/07/03
- 08/09: gnu: qt-4: Remove reference from "out" to "doc"., Ludovic Courtès, 2015/07/03