aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libxmp.rb
blob: f2e377a6de413ff4d1066022500aaa00fa30de62 (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
require "formula"

class Libxmp < Formula
  homepage "http://xmp.sourceforge.net"
  url "https://downloads.sourceforge.net/project/xmp/libxmp/4.2.8/libxmp-4.2.8.tar.gz"
  sha1 "7cb28f316c8991493e626dab149719a376c3501d"

  bottle do
    cellar :any
    sha1 "bf5b171d0f271890d066dee22e07a9d1a8319286" => :mavericks
    sha1 "11616c4b632afb7fb5de9388cb2707f50dc154b3" => :mountain_lion
    sha1 "275c0e98a00fce621e1801ad70628bf0a13e0dac" => :lion
  end

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

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