aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libxmp.rb
blob: 30fb44c79a45cdc37b438b3f3ff4fe1aa4038de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class Libxmp < Formula
  homepage "http://xmp.sourceforge.net"
  url "https://downloads.sourceforge.net/project/xmp/libxmp/4.3.3/libxmp-4.3.3.tar.gz"
  sha1 "96587f6412dedbba80558ef6c25a5bf966fa5887"

  bottle do
    cellar :any
    sha1 "6c1d8e11eeed747b2c3eef68580242aa54fd534d" => :yosemite
    sha1 "95b085e5280cd384298f4076670b2c748dd57f14" => :mavericks
    sha1 "baa6fa4eb7e74e3212ede70e140c3ac535bd68c9" => :mountain_lion
  end

  head do
    url "git://git.code.sf.net/p/xmp/libxmp"
    depends_on "autoconf" => :build
  end

  def install
    system "autoconf" if build.head?
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
end