aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJeremy Larkin2010-01-07 13:15:11 -0500
committerAdam Vandenberg2010-01-30 23:08:18 -0800
commite421f59bf40b54abb2ef19b850e674c8dc2a7a0a (patch)
tree3eb05162d7b4eb0dcdad6aab008f0fc38b2c9f92 /Library/Formula
parentbeb40ca56c20b2527285839aad27fb8cf55e4f13 (diff)
downloadhomebrew-e421f59bf40b54abb2ef19b850e674c8dc2a7a0a.tar.bz2
Added formula for peg/leg 0.1.4
The formula patches the Makefile to enable simpler installation of the programs and to install the manual file. Signed-off-by: Adam Vandenberg <flangy@gmail.com> Use brew install functions instead of patch.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/peg.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/peg.rb b/Library/Formula/peg.rb
new file mode 100644
index 000000000..860edcff7
--- /dev/null
+++ b/Library/Formula/peg.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Peg <Formula
+ url 'http://piumarta.com/software/peg/peg-0.1.4.tar.gz'
+ homepage 'ihttp://piumarta.com/software/peg/'
+ md5 'feb52a19a749f08fa8602387f1acbd93'
+
+ aka "leg"
+
+ def install
+ system "make all"
+ bin.install %w[peg leg]
+ man1.install gzip("peg.1")
+ end
+end