2010-07-25 16:09:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cmus < Formula
|
2010-07-25 16:09:49 +00:00
|
|
|
homepage 'http://cmus.sourceforge.net/'
|
2012-11-16 22:10:16 +00:00
|
|
|
url 'http://downloads.sourceforge.net/cmus/cmus-v2.5.0.tar.bz2'
|
|
|
|
sha1 '244975a5ff642567acb047f6bd518e4a3271c25b'
|
2012-04-19 02:37:43 +00:00
|
|
|
|
|
|
|
head 'https://git.gitorious.org/cmus/cmus.git'
|
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'
|
2012-11-26 11:35:52 +00:00
|
|
|
depends_on 'libcue'
|
2013-11-25 16:02:32 +00:00
|
|
|
depends_on 'ffmpeg' => :optional
|
2010-07-25 16:09:49 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|