2013-02-03 03:27:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Clamz < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Download MP3 files from Amazon's music store"
|
2013-02-03 03:27:14 +00:00
|
|
|
homepage 'http://code.google.com/p/clamz/'
|
2014-03-05 07:22:08 +00:00
|
|
|
url 'https://clamz.googlecode.com/files/clamz-0.5.tar.gz'
|
2013-02-03 03:27:14 +00:00
|
|
|
sha1 '54664614e5098f9e4e9240086745b94fe638b176'
|
2014-03-06 15:28:03 +00:00
|
|
|
revision 1
|
2013-02-03 03:27:14 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'libgcrypt'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2013-02-03 03:27:14 +00:00
|
|
|
system "#{bin}/clamz"
|
|
|
|
end
|
|
|
|
end
|