aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ncdc.rb
diff options
context:
space:
mode:
authorCharles Lehner2013-02-22 18:13:50 -0500
committerAdam Vandenberg2013-02-23 09:18:33 -0800
commita39b1e97105c57d49ca2b958c21fca199b21aa17 (patch)
tree48da270b5090d967951dbdf9267a0771dde4cfa5 /Library/Formula/ncdc.rb
parentad03afd689904088268743aaae91bb0045d1d4f1 (diff)
downloadhomebrew-a39b1e97105c57d49ca2b958c21fca199b21aa17.tar.bz2
ncdc 1.14
Closes #18026. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ncdc.rb')
-rw-r--r--Library/Formula/ncdc.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/ncdc.rb b/Library/Formula/ncdc.rb
new file mode 100644
index 000000000..f52890ebd
--- /dev/null
+++ b/Library/Formula/ncdc.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Ncdc < Formula
+ homepage 'http://dev.yorhel.nl/ncdc'
+ url 'http://dev.yorhel.nl/download/ncdc-1.14.tar.gz'
+ sha1 'ff2ae3107097ce4cd03862841421f157198217ea'
+
+ depends_on 'glib'
+ depends_on 'sqlite'
+ depends_on 'gnutls'
+ depends_on 'pkg-config' => :build
+
+ def install
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/ncdc -v"
+ end
+end