aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/flickcurl.rb
blob: 164874f4a4cc5f96908f86dd29fd3548573a370b (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
require 'formula'

class Flickcurl < Formula
  homepage 'http://librdf.org/flickcurl/'
  url 'http://download.dajobe.org/flickcurl/flickcurl-1.26.tar.gz'
  sha1 '547480030ce4f777bb35d98b43fe15ee3eeae0e0'

  bottle do
    cellar :any
    sha1 "6f621c0db12c69bb0337be2740e50d5f3d080c5f" => :yosemite
    sha1 "50deb6a9aaf2a9c8e33fabe1521040bf29d785ec" => :mavericks
    sha1 "5f5f52bf4a49d267b70ddbe53e58017056c0338a" => :mountain_lion
  end

  depends_on 'pkg-config' => :build

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

  test do
    output = shell_output("#{bin}/flickcurl -h 2>&1", 1)
    assert output.include? "flickcurl: Configuration file"
  end
end