diff options
| author | Misty De Meo | 2013-10-24 19:41:36 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-24 19:41:36 -0700 |
| commit | 4c4d57b0bb3ce6cb4c408db8d611ffa332b28b0f (patch) | |
| tree | c032358003c1bf0e11a9d9bc8db9dc18bbe4997e /Library/Formula | |
| parent | 70ac4df1e7a53a203d50439ad751f128f14fea7f (diff) | |
| download | homebrew-4c4d57b0bb3ce6cb4c408db8d611ffa332b28b0f.tar.bz2 | |
ncmpcpp: add HEAD
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ncmpcpp.rb | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Library/Formula/ncmpcpp.rb b/Library/Formula/ncmpcpp.rb index 5249b68d0..07e646378 100644 --- a/Library/Formula/ncmpcpp.rb +++ b/Library/Formula/ncmpcpp.rb @@ -5,6 +5,15 @@ class Ncmpcpp < Formula url 'http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.5.10.tar.bz2' sha1 '5e34733e7fbaf2862f04fdf8af8195ce860a9014' + head do + url 'git://repo.or.cz/ncmpcpp.git' + + depends_on :autoconf + depends_on :automake + depends_on :libtool + depends_on 'boost' # not needed by stable + end + depends_on 'pkg-config' => :build depends_on 'taglib' depends_on 'libmpdclient' @@ -12,7 +21,7 @@ class Ncmpcpp < Formula fails_with :clang do cause "'itsTempString' is a private member of 'NCurses::basic_buffer<char>'" - end + end if build.stable? option 'outputs', 'Compile with mpd outputs control' option 'visualizer', 'Compile with built-in visualizer' @@ -29,7 +38,12 @@ class Ncmpcpp < Formula args << '--enable-visualizer' if build.include? 'visualizer' args << '--enable-clock' if build.include? 'clock' - system "./configure", *args + if build.head? + # Also runs configure + system "./autogen.sh", *args + else + system "./configure", *args + end system "make install" end end |
