diff options
author | pjotrp | 2016-06-11 07:11:17 +0000 |
---|---|---|
committer | pjotrp | 2016-06-11 07:11:17 +0000 |
commit | 6e746650100c77940add6b6637a8748cf10ce1a8 (patch) | |
tree | 10b183650b07bf77c2f6a5790196bbe81ceb6c21 /gn | |
parent | e09fea7289773d4a641292e7c7cb75a66c7bd91f (diff) | |
download | guix-bioinformatics-6e746650100c77940add6b6637a8748cf10ce1a8.tar.gz |
Erlang: took some hints from brew
https://github.com/Homebrew/homebrew-core/blob/master/Formula/erlang.rb
Diffstat (limited to 'gn')
-rw-r--r-- | gn/packages/erlang.scm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gn/packages/erlang.scm b/gn/packages/erlang.scm index 5f72ee7..9141e08 100644 --- a/gn/packages/erlang.scm +++ b/gn/packages/erlang.scm @@ -23,6 +23,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages autotools) + #:use-module (gnu packages gl) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) #:use-module (gnu packages wxwidgets) @@ -48,16 +49,25 @@ `(("perl" ,perl) ("autoconf" ,autoconf) ("automake" ,automake) - ("wxwidgets" ,wxwidgets) )) ;; Erlang's documentation is distributed in a separate tarball. (inputs `(("ncurses" ,ncurses) + ("mesa" ,mesa) + ("wxwidgets" ,wxwidgets) ("openssl" ,openssl))) + (propagated-inputs + ;; Headers from Mesa and GLU are needed. + `(("glu" ,glu) + ("mesa" ,mesa))) + (arguments `(#:configure-flags - (list "--disable-saved-compile-time" (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl"))) + (list "--disable-saved-compile-time" "--enable-wx" "--enable-native-libs" + "--enable-threads" "--enable-dynamic-ssl-lib" "--enable-shared-zlib" + "--enable-smp-support" + (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl"))) #:phases (modify-phases %standard-phases (add-before 'configure 'autoconf |