aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorIsao Yagi2011-09-14 10:45:17 -0700
committerCharlie Sharpsteen2011-09-18 18:17:39 -0700
commit23266b544c206938187e333dfae7c99a4e276941 (patch)
treea0445c912d0094bd2c8f6df15081565eda0e05c4 /Library
parenta1584f8158032f3af1e2dded6a0c7fd91da71781 (diff)
downloadhomebrew-23266b544c206938187e333dfae7c99a4e276941.tar.bz2
New Formula: peg-markdown
The markdown parser that existing formula "multimarkdown" is based on. Presumably lighter-weight (fewer output formats) and fewer bugs. Closes #7631. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/peg-markdown.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/peg-markdown.rb b/Library/Formula/peg-markdown.rb
new file mode 100644
index 000000000..2b782c4ec
--- /dev/null
+++ b/Library/Formula/peg-markdown.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class PegMarkdown < Formula
+ homepage 'https://github.com/jgm/peg-markdown'
+ url 'https://github.com/jgm/peg-markdown/tarball/0.4.12'
+ md5 '9e8d3a4897d0e5be84011ec1d3dd961f'
+ head 'git://github.com/jgm/peg-markdown.git'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'glib'
+
+ def install
+ system 'make'
+ bin.install 'markdown' => 'peg-markdown'
+ end
+end