aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorricho2011-12-28 15:47:41 +1100
committerAdam Vandenberg2012-01-10 20:05:50 -0800
commita3ae93e3931c4855776c3260eb916db837a77dc4 (patch)
tree404a67ef1d7ece384aa367367f35968aff0a87d2 /Library/Formula
parent8315f500d526857361081624341a6855f071a52f (diff)
downloadhomebrew-a3ae93e3931c4855776c3260eb916db837a77dc4.tar.bz2
vimpc 0.04
vimpc is an mpd client that emulates a lot of vim features. Despite being in active development it is completely usable as a day to day mpd client and very stable. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vimpc.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/vimpc.rb b/Library/Formula/vimpc.rb
new file mode 100644
index 000000000..8309afa3c
--- /dev/null
+++ b/Library/Formula/vimpc.rb
@@ -0,0 +1,28 @@
+require 'formula'
+
+class Vimpc < Formula
+ url 'http://downloads.sourceforge.net/project/vimpc/Release%200.04/vimpc-0.04.tar.gz'
+ homepage 'http://sourceforge.net/projects/vimpc/'
+ md5 '5ccc7b8fa3cde6f750b12b39c39778a7'
+
+ head 'https://github.com/richoH/vimpc.git'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'pcre++'
+ depends_on 'libmpdclient'
+
+ def install
+ if ARGV.build_head?
+ ENV['ACLOCAL_FLAGS'] = "-I #{HOMEBREW_PREFIX}/share/aclocal"
+ system "./autogen.sh"
+ end
+
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "vimpc -v"
+ end
+end