2012-03-07 05:36:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Flickcurl < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Library for the Flickr API"
|
2012-03-07 05:36:50 +00:00
|
|
|
homepage 'http://librdf.org/flickcurl/'
|
2015-01-10 15:59:39 +00:00
|
|
|
url 'http://download.dajobe.org/flickcurl/flickcurl-1.26.tar.gz'
|
|
|
|
sha1 '547480030ce4f777bb35d98b43fe15ee3eeae0e0'
|
2012-03-07 05:36:50 +00:00
|
|
|
|
2015-01-10 16:11:30 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "6f621c0db12c69bb0337be2740e50d5f3d080c5f" => :yosemite
|
|
|
|
sha1 "50deb6a9aaf2a9c8e33fabe1521040bf29d785ec" => :mavericks
|
|
|
|
sha1 "5f5f52bf4a49d267b70ddbe53e58017056c0338a" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2012-03-07 05:36:50 +00:00
|
|
|
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"
|
2012-03-07 05:36:50 +00:00
|
|
|
end
|
|
|
|
end
|