homebrew-core/Formula/flickcurl.rb

29 lines
803 B
Ruby
Raw Normal View History

require 'formula'
class Flickcurl < Formula
desc "Library for the Flickr API"
homepage 'http://librdf.org/flickcurl/'
url 'http://download.dajobe.org/flickcurl/flickcurl-1.26.tar.gz'
sha1 '547480030ce4f777bb35d98b43fe15ee3eeae0e0'
2015-01-10 16:11:30 +00:00
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
2013-03-25 18:35:18 +00:00
test do
2015-01-11 10:12:32 +00:00
output = shell_output("#{bin}/flickcurl -h 2>&1", 1)
2015-01-11 10:34:59 +00:00
assert output.include? "flickcurl: Configuration file"
end
end