@@ -600,6 +600,9 @@ Objective@tie{}C, D, Java, Pawn, and Vala). Features:
#:make-flags (list (string-append "prefix=" %output)
"INSTALL=install"
"all")
+ #:modules ((guix build gnu-build-system) ;; FIXME use %default-modules
+ (guix build utils)
+ (ice-9 regex))
#:phases
(modify-phases %standard-phases
(replace 'configure
@@ -618,7 +621,14 @@ Objective@tie{}C, D, Java, Pawn, and Vala). Features:
(for-each (lambda (l)
(copy-file
l (string-append libdir "/" (basename l))))
- (find-files "bin" "lib*"))))
+ (find-files "bin" "lib*"))
+ (for-each
+ (lambda (l)
+ (symlink (basename l)
+ (regexp-substitute #f
+ (string-match "(\\.[0-9]){3}$" l)
+ 'pre)))
+ (find-files libdir "lib.*\\.so\\..*"))))
#t)))))
(home-page "http://astyle.sourceforge.net/")
(synopsis "Source code indenter, formatter, and beautifier")