aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRajiv Aaron Manglani2013-02-02 22:27:14 -0500
committerJack Nagel2013-03-09 22:50:55 -0600
commit8e17b8ed5d6541fc1ebb608a6481a6ce26de56bb (patch)
treeaa343d05bc56ddd2b30d3233145d1e25e66f4b66 /Library/Formula
parentec90af1ecac7d764466e8d7c56996099160f3e1e (diff)
downloadhomebrew-8e17b8ed5d6541fc1ebb608a6481a6ce26de56bb.tar.bz2
New formula: clamz 0.5
A command-line program to download MP3s from Amazon. Closes #17552. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/clamz.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/clamz.rb b/Library/Formula/clamz.rb
new file mode 100644
index 000000000..cfbb990f9
--- /dev/null
+++ b/Library/Formula/clamz.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Clamz < Formula
+ homepage 'http://code.google.com/p/clamz/'
+ url 'http://clamz.googlecode.com/files/clamz-0.5.tar.gz'
+ sha1 '54664614e5098f9e4e9240086745b94fe638b176'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'libgcrypt'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/clamz"
+ end
+end