[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/14: gnu: Add astyle.
From: |
Eric Bavier |
Subject: |
01/14: gnu: Add astyle. |
Date: |
Tue, 09 Dec 2014 20:40:23 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 47833c90d52198c94b27f102d94eed696112bd0e
Author: Eric Bavier <address@hidden>
Date: Wed Nov 26 11:17:13 2014 -0600
gnu: Add astyle.
* gnu/packages/pretty-print.scm (astyle): New variable.
---
gnu/packages/pretty-print.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index bd38a4b..1576c3d 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -196,3 +196,44 @@ output to 8 different formats, including HTML, LaTeX and
ODF. It can also
output to ANSI color escape sequences, so that highlighted source code can be
seen in a terminal.")
(license gpl3+)))
+
+(define-public astyle
+ (package
+ (name "astyle")
+ (version "2.05")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/astyle/astyle/astyle%20"
+ version "/astyle_" version "_linux.tar.gz"))
+ (sha256
+ (base32
+ "0f9sh9kq5ajp1yz133h00fr9235p1m698x7n3h7zbrhjiwgynd6s"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ;no tests
+ #:make-flags (list (string-append "prefix=" %output)
+ "INSTALL=install"
+ "all")
+ #:phases (alist-replace
+ 'configure
+ (lambda _ (chdir "build/gcc"))
+ (alist-cons-after
+ 'install 'install-libs
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Libraries are not installed by default
+ (let* ((output (assoc-ref outputs "out"))
+ (libdir (string-append output "/lib")))
+ (begin
+ (mkdir-p libdir)
+ (for-each (lambda (l)
+ (copy-file
+ l (string-append libdir "/" (basename
l))))
+ (find-files "bin" "lib*")))))
+ %standard-phases))))
+ (home-page "http://astyle.sourceforge.net/")
+ (synopsis "Source code indenter, formatter, and beautifier")
+ (description
+ "Artistic Style is a source code indenter, formatter, and beautifier for
+the C, C++, C++/CLI, Objective‑C, C#, and Java programming languages.")
+ (license lgpl3+)))
- branch master updated (5a4753a -> 426fde9), Eric Bavier, 2014/12/09
- 01/14: gnu: Add astyle.,
Eric Bavier <=
- 04/14: gnu: Add perl-exporter-lite., Eric Bavier, 2014/12/09
- 05/14: gnu: Add perl-probe-perl., Eric Bavier, 2014/12/09
- 06/14: gnu: Add perl-ipc-run3., Eric Bavier, 2014/12/09
- 07/14: gnu: Add perl-test-script., Eric Bavier, 2014/12/09
- 03/14: gnu: Add perl-benchmark-timer., Eric Bavier, 2014/12/09
- 08/14: gnu: Add perl-file-which., Eric Bavier, 2014/12/09
- 09/14: gnu: Add perl-getopt-tabular., Eric Bavier, 2014/12/09
- 10/14: gnu: Add perl-regexp-common., Eric Bavier, 2014/12/09
- 11/14: gnu: Add perl-sys-cpu., Eric Bavier, 2014/12/09
- 12/14: gnu: licenses: Add NCSA license., Eric Bavier, 2014/12/09