homebrew-core/Formula/mpdas.rb

29 lines
577 B
Ruby
Raw Normal View History

2014-08-22 02:47:54 +00:00
require "formula"
2010-09-11 00:44:09 +00:00
2011-03-10 05:11:03 +00:00
class Mpdas < Formula
2014-08-22 02:47:54 +00:00
homepage "http://www.50hz.ws/mpdas/"
url "http://www.50hz.ws/mpdas/mpdas-0.3.1.tar.bz2"
sha1 "c9aaf18243b3ae59264ba862f6fb94dfed55dbda"
2010-09-11 00:44:09 +00:00
2014-08-22 02:47:54 +00:00
head "https://github.com/hrkfdn/mpdas.git"
2010-09-11 00:44:09 +00:00
2014-08-22 02:47:54 +00:00
depends_on "pkg-config" => :build
depends_on "libmpd"
2010-09-11 00:44:09 +00:00
def install
2014-08-22 02:47:54 +00:00
ENV["PREFIX"] = prefix
ENV["MANPREFIX"] = man
ENV["CONFIG"] = etc
2010-09-11 00:44:09 +00:00
ENV.j1
system "make"
# Just install ourselves
bin.install "mpdas"
man1.install "mpdas.1"
end
def caveats
"Read #{prefix}/README on how to configure mpdas."
end
end