From 709a3bb7b8504093aa1c6bef7fd7c5cb07ca5b13 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 4 Sep 2017 11:18:56 +0300 Subject: gnu: weechat: Change to cmake-build-system. * gnu/packages/irc.scm (weechat)[build-system]: Switch to cmake-build-system. [arguments]: Remove configure-flags, disable tets, remove 'autogen phase. [inputs]: Remove diffutils, libltdl, openssl, cyrus-sasl. Move gettext ... [native-inputs]: ... to here. Remove autoconf, file, autogen, automake, libtool. --- gnu/packages/irc.scm | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'gnu/packages/irc.scm') diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 2e8d3d4573..cdbdc44e68 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013 Cyril Roelandt ;;; Copyright © 2014 Kevin Lemonnier ;;; Copyright © 2015 Ludovic Courtès -;;; Copyright © 2015, 2016 Efraim Flashner +;;; Copyright © 2015, 2016, 2017 Efraim Flashner ;;; Copyright © 2016 ng0 ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2017 Tobias Geerinckx-Rice @@ -152,37 +152,23 @@ (define-public weechat (base32 "1zvxz98krq98y7jh3yrjbardg3yxp6y2031rvb7rp5ssk8lyp1fc")) (patches (search-patches "weechat-python.patch")))) - (build-system gnu-build-system) - (native-inputs `(("autoconf" ,autoconf) - ("pkg-config" ,pkg-config) - ("file" ,file) - ("autogen" ,autogen) - ("automake" ,automake) - ("libtool" ,libtool))) + (build-system cmake-build-system) + (native-inputs `(("gettext" ,gettext-minimal) + ("pkg-config" ,pkg-config))) (inputs `(("ncurses" ,ncurses) - ("diffutils" ,diffutils) - ("gettext" ,gettext-minimal) - ("libltdl" ,libltdl) ("libgcrypt" ,libgcrypt "out") ("zlib" ,zlib) ("aspell" ,aspell) ("curl" ,curl) ("gnutls" ,gnutls) ("guile" ,guile-2.0) - ("openssl" ,openssl) - ("cyrus-sasl" ,cyrus-sasl) ("lua" ,lua-5.1) ("python" ,python-2) ("perl" ,perl) ("tcl" ,tcl))) (arguments - `(#:configure-flags (list (string-append - "--with-tclconfig=" - (assoc-ref %build-inputs "tcl") "/lib")) + `(#:tests? #f ; tests require cpputime #:phases (modify-phases %standard-phases - (add-after 'unpack 'autogen - (lambda _ - (zero? (system* "sh" "autogen.sh")))) (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) -- cgit v1.2.3