2014-06-24 06:59:10 +00:00
|
|
|
require "formula"
|
2011-12-28 04:47:41 +00:00
|
|
|
|
|
|
|
class Vimpc < Formula
|
2014-06-24 06:59:10 +00:00
|
|
|
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"
|
2011-12-28 04:47:41 +00:00
|
|
|
|
2013-09-22 01:47:49 +00:00
|
|
|
head do
|
2014-06-24 06:59:10 +00:00
|
|
|
url "https://github.com/boysetsfrog/vimpc.git"
|
2011-12-28 04:47:41 +00:00
|
|
|
|
2014-04-05 00:38:29 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2012-07-07 18:08:22 +00:00
|
|
|
end
|
|
|
|
|
2014-06-24 06:59:10 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "boost" => :build unless MacOS.version >= :mavericks
|
|
|
|
depends_on "taglib"
|
|
|
|
depends_on "libmpdclient"
|
|
|
|
depends_on "pcre"
|
2011-12-28 04:47:41 +00:00
|
|
|
|
|
|
|
def install
|
2014-04-05 00:38:29 +00:00
|
|
|
system "./autogen.sh" if build.head?
|
2011-12-28 04:47:41 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/vimpc", "-v"
|
2011-12-28 04:47:41 +00:00
|
|
|
end
|
|
|
|
end
|