blob: 49949652eb3984d921f3d580dbeeee064f2ecf57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
require "formula"
class Vimpc < Formula
homepage "http://sourceforge.net/projects/vimpc/"
url "https://downloads.sourceforge.net/project/vimpc/Release%200.09.1/vimpc-0.09.1.tar.gz"
sha1 "b4e9790eaf0a25035ba32c2c98993fd6900a2c42"
head do
url "https://github.com/boysetsfrog/vimpc.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "pkg-config" => :build
depends_on "boost" => :build unless MacOS.version >= :mavericks
depends_on "taglib"
depends_on "libmpdclient"
depends_on "pcre"
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/vimpc", "-v"
end
end
|