30 lines
1.2 KiB
Ruby
30 lines
1.2 KiB
Ruby
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"
|
|
sha256 "ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "6188ec0f80d29fb32f2f6bb08ee8eb3fd7aa66cd1e3a4f8c4a138f33a5b5271a" => :catalina
|
|
sha256 "731f6f4a68337a3aef6448ec67a0dab1e2cc7eee3d8a827582f398578fc2bc3a" => :mojave
|
|
sha256 "6cc2fc33f360e706671c33d25059784f934f7371142c54977bb50a1d5b47d6e8" => :high_sierra
|
|
sha256 "ddffd36ee6ab7c4cfd0edba1be9aa488ed38d1ee66a99c2e2445bf4d21cd0c00" => :sierra
|
|
sha256 "01886ddb800167eed18495d780baa81bac793243a54d452ad9a34a06e876e4d2" => :el_capitan
|
|
sha256 "64c7a8f7d2bcc90063f926724fd1bd9277f783f3aca3c83e53684222f3d1d1c3" => :yosemite
|
|
sha256 "e6950b0011dce7207b3ae5c7d42a7cce71c6d6c6a35461d2f8a5423be6415184" => :mavericks
|
|
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_match "flickcurl: Configuration file", output
|
|
end
|
|
end
|