aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ncmpcpp.rb
blob: 332cb4823fa32015016268a696759b58fecad43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Ncmpcpp <Formula
  url 'http://unkart.ovh.org/ncmpcpp/ncmpcpp-0.5.5.tar.bz2'
  homepage 'http://unkart.ovh.org/ncmpcpp/'
  md5 '30cded976c81bba4c8a2daf2215fe41d'

  depends_on 'taglib'
  depends_on 'libmpdclient'

  def install
    system "./configure", "--with-taglib", "--with-curl", "--enable-unicode",
                          "--disable-debug", "--disable-dependency-tracking",
                          "LDFLAGS=-liconv", "--prefix=#{prefix}"
    system "make install"
  end
end