2010-09-11 00:44:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mpdas < Formula
|
2010-09-11 00:44:09 +00:00
|
|
|
homepage 'http://www.50hz.ws/mpdas/'
|
2012-08-02 03:14:39 +00:00
|
|
|
url 'http://www.50hz.ws/mpdas/mpdas-0.3.0.tar.bz2'
|
|
|
|
sha1 '3e389b8bb9a37b7f9527c6c4a1aaaf4ab462bf0a'
|
2010-09-11 00:44:09 +00:00
|
|
|
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/hrkfdn/mpdas.git'
|
2010-09-11 00:44:09 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'libmpd'
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['PREFIX'] = prefix
|
|
|
|
ENV['MANPREFIX'] = man
|
|
|
|
ENV['CONFIG'] = etc
|
|
|
|
|
|
|
|
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
|