a9a46545fe
Fixes error described in cmus/cmus#58 Closes Homebrew/homebrew#24652. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
25 lines
604 B
Ruby
25 lines
604 B
Ruby
require 'formula'
|
|
|
|
class Cmus < Formula
|
|
homepage 'http://cmus.sourceforge.net/'
|
|
url 'http://downloads.sourceforge.net/cmus/cmus-v2.5.0.tar.bz2'
|
|
sha1 '244975a5ff642567acb047f6bd518e4a3271c25b'
|
|
|
|
head 'https://git.gitorious.org/cmus/cmus.git'
|
|
|
|
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'
|
|
depends_on 'libcue'
|
|
depends_on 'ffmpeg' => :optional
|
|
|
|
def install
|
|
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
|
|
system "make install"
|
|
end
|
|
end
|