aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTheodore Robert Campbell Jr2012-03-07 00:36:50 -0500
committerAdam Vandenberg2012-07-09 09:54:18 -0700
commit2485b52376457f75fae07b0485a4bcd702592bb2 (patch)
treea8815affd48a31b963103a45742847f0947520e2 /Library
parent8df9f76cc77efa7f5837a4acffe6a83f593c67f2 (diff)
downloadhomebrew-2485b52376457f75fae07b0485a4bcd702592bb2.tar.bz2
flickcurl 1.22
flickcurl is a C library and a set of utility programs for the Flickr API. Closes #10735. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/flickcurl.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/flickcurl.rb b/Library/Formula/flickcurl.rb
new file mode 100644
index 000000000..bb8a8777e
--- /dev/null
+++ b/Library/Formula/flickcurl.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Flickcurl < Formula
+ homepage 'http://librdf.org/flickcurl/'
+ url 'http://download.dajobe.org/flickcurl/flickcurl-1.22.tar.gz'
+ sha1 '38f427262bc76c23ac4ab31ed4df6c6022c5d3ec'
+
+ depends_on 'pkg-config' => :build
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/flickcurl -h"
+ end
+end