aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Höppner2009-10-03 18:02:09 +0200
committerMax Howell2009-10-12 22:51:57 +0100
commit1de3128d8c4513d805141d5962b1d7c5ad5b8e1d (patch)
treec8bc6f4d9930cbf11b2f17ef69243313155184f2 /Library
parent00f0a04524a5e98d0427bf42ca748fef9d4ac7a1 (diff)
downloadhomebrew-1de3128d8c4513d805141d5962b1d7c5ad5b8e1d.tar.bz2
GNU Lightning formula
GNU lightning is a library that generates assembly language code at run-time; it is very fast, making it ideal for Just-In-Time compilers, and it abstracts over the target CPU, as it exposes to the clients a standardized RISC instruction set inspired by the MIPS and SPARC chips.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/lightning.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/lightning.rb b/Library/Formula/lightning.rb
new file mode 100644
index 000000000..13d792264
--- /dev/null
+++ b/Library/Formula/lightning.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Lightning <Formula
+ url 'http://ftp.gnu.org/gnu/lightning/lightning-1.2.tar.gz'
+ homepage 'http://www.gnu.org/software/lightning/'
+ md5 'dcd2c46ee4dd5d99edd9930022ad2153'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end