c79a9ce61c
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
24 lines
544 B
Ruby
24 lines
544 B
Ruby
require 'formula'
|
|
|
|
class Cmus < Formula
|
|
url 'http://downloads.sourceforge.net/cmus/cmus-v2.4.0.tar.bz2'
|
|
homepage 'http://cmus.sourceforge.net/'
|
|
md5 '0c5a9f4032e632e5f6b6a49f53df1e7e'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libao'
|
|
depends_on 'mad'
|
|
depends_on 'libogg'
|
|
depends_on 'libvorbis'
|
|
depends_on 'faad2'
|
|
depends_on 'flac'
|
|
depends_on 'mp4v2'
|
|
|
|
skip_clean 'bin/cmus'
|
|
skip_clean 'bin/cmus-remote'
|
|
|
|
def install
|
|
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
|
|
system "make install"
|
|
end
|
|
end
|