aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/multimarkdown.rb
blob: 55902661d630bfa34d61eb4ed41cbbb3d52384e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

# url uses git tag to download submodules.
class Multimarkdown < Formula
  homepage 'http://fletcherpenney.net/multimarkdown/'
  url 'https://github.com/fletcher/peg-multimarkdown.git', :tag => '3.6'
  version '3.6'

  head 'https://github.com/fletcher/peg-multimarkdown.git', :branch => 'development'

  def install
    ENV.append 'CFLAGS', '-include GLibFacade.h'
    system "make"
    bin.install 'multimarkdown'
    bin.install Dir['Support/bin/*']
    bin.install Dir['scripts/*']
  end
end