2010-07-25 16:09:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cmus < Formula
|
2011-07-24 16:22:58 +00:00
|
|
|
url 'http://downloads.sourceforge.net/cmus/cmus-v2.4.2.tar.bz2'
|
2010-07-25 16:09:49 +00:00
|
|
|
homepage 'http://cmus.sourceforge.net/'
|
2011-07-24 16:22:58 +00:00
|
|
|
md5 'f3ed7f14db20344ad7386aef48b98a4c'
|
2010-07-25 16:09:49 +00:00
|
|
|
|
2011-03-05 23:26:51 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-07-25 16:09:49 +00:00
|
|
|
depends_on 'libao'
|
|
|
|
depends_on 'mad'
|
|
|
|
depends_on 'libogg'
|
|
|
|
depends_on 'libvorbis'
|
|
|
|
depends_on 'faad2'
|
|
|
|
depends_on 'flac'
|
2011-03-05 23:26:51 +00:00
|
|
|
depends_on 'mp4v2'
|
2010-07-25 16:09:49 +00:00
|
|
|
|
|
|
|
skip_clean 'bin/cmus'
|
|
|
|
skip_clean 'bin/cmus-remote'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|