aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/abcm2ps.rb
blob: 110ca07b1a9f72eb51f8177cffa926c18e54df5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require "formula"

class Abcm2ps < Formula
  homepage "http://moinejf.free.fr"

  stable do
    url "http://moinejf.free.fr/abcm2ps-7.8.4.tar.gz"
  bottle do
    sha1 "ef6a4248ccf543f3394561d056ef8c7941e1cf59" => :mavericks
    sha1 "3125f3f4c279ff6233330153a166905c22be78b6" => :mountain_lion
    sha1 "e87ee5016f2b2773b02664fbee362c3a557966a7" => :lion
  end

    sha1 "b910a048fe94500d3da52e9fe250d2835dc5343c"
  end

  devel do
    url "http://moinejf.free.fr/abcm2ps-8.1.2.tar.gz"
    sha1 "b60626ef21b269fa18ec3dc8ba11354d798ddded"
  end

  depends_on "pango" => :optional
  if build.with? "pango"
    depends_on "pkg-config" => :build
  end

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/abcm2ps"
  end
end