diff options
| author | kmowery | 2010-01-21 21:13:42 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 16:04:46 -0700 |
| commit | ba855c10b697408111453d58b24cdb02cef4b7f8 (patch) | |
| tree | ecb4171e300d793517f41cf1ea8c78fe7945f773 /Library | |
| parent | 8cf91006246c7c5657075be5974e819096a56e57 (diff) | |
| download | homebrew-ba855c10b697408111453d58b24cdb02cef4b7f8.tar.bz2 | |
Lilypond 2.13.10
A tool for creating quality sheet music.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/lilypond.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/lilypond.rb b/Library/Formula/lilypond.rb new file mode 100644 index 000000000..2728803cb --- /dev/null +++ b/Library/Formula/lilypond.rb @@ -0,0 +1,32 @@ +require 'formula' + +class Lilypond <Formula + url 'http://download.linuxaudio.org/lilypond/sources/v2.13/lilypond-2.13.23.tar.gz' + homepage 'http://lilypond.org/' + md5 '741190abdd2217cf9f4ea6abff66accf' + + depends_on 'pkg-config' + # The guile version must be < 1.9 + depends_on 'guile' + depends_on 'gettext' + depends_on 'ghostscript' + depends_on 'pango' + depends_on 'mftrace' + depends_on 'fontforge' + depends_on 'texinfo' + + def skip_clean? path; true; end + + def install + system "./configure", "--prefix=#{prefix}", + "--with-ncsb-dir=#{Formula.factory('ghostscript').share}/ghostscript/fonts/" + + # Separate steps to ensure that lilypond's custom fonts are created. + system "make" + system "make install" + end + + def caveats + "Lilypond requires a version of TeX, such as TeX Live or MacTeX, prior to installing." + end +end |
