aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmus.rb
blob: 596c42f734a0ae1e1f9be9320007e0411cf93c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Cmus <Formula
  url 'https://sourceforge.net/projects/cmus/files/cmus-v2.3.3.tar.bz2/download'
  homepage 'http://cmus.sourceforge.net/'
  md5 '220e875e4210a6b54882114ef7094a79'
  version '2.3.3'

  depends_on 'libao'
  depends_on 'mad'
  depends_on 'libogg'
  depends_on 'libvorbis'
  depends_on 'faad2'
  depends_on 'flac'

  skip_clean 'bin/cmus'
  skip_clean 'bin/cmus-remote'

  def install
    system "./configure", "prefix=#{prefix}", "mandir=#{man}"
    system "make install"
  end
end