diff options
| author | Dominyk Tiller | 2015-01-19 13:59:17 +0000 |
|---|---|---|
| committer | Jack Nagel | 2015-01-20 22:10:47 -0500 |
| commit | de5cd3efa86dd8cbf9308898141b23d72b47a234 (patch) | |
| tree | 70a8eae5505d874e2dfb06c85198e93cee0df0d5 /Library/Formula/ncmpcpp.rb | |
| parent | 169047ef2d21662132bbc665b755c0b81e844134 (diff) | |
| download | homebrew-de5cd3efa86dd8cbf9308898141b23d72b47a234.tar.bz2 | |
ncmpcpp 0.6.2
Closes #36031.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ncmpcpp.rb')
| -rw-r--r-- | Library/Formula/ncmpcpp.rb | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Library/Formula/ncmpcpp.rb b/Library/Formula/ncmpcpp.rb index 38fb4a6e5..113908335 100644 --- a/Library/Formula/ncmpcpp.rb +++ b/Library/Formula/ncmpcpp.rb @@ -1,9 +1,7 @@ -require 'formula' - class Ncmpcpp < Formula - homepage 'http://ncmpcpp.rybczak.net/' - url 'http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.6.tar.bz2' - sha1 '7bbd63c6f17aa8cdf1190b19e2dc893df188da1c' + homepage "http://ncmpcpp.rybczak.net/" + url "http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.6.2.tar.bz2" + sha1 "0e7e60d61af42f9fa543e16f06bac8d6c42d5fe9" bottle do cellar :any @@ -13,16 +11,16 @@ class Ncmpcpp < Formula end head do - url 'git://repo.or.cz/ncmpcpp.git' + url "git://repo.or.cz/ncmpcpp.git" depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build end - depends_on 'pkg-config' => :build - depends_on 'libmpdclient' - depends_on 'readline' + depends_on "pkg-config" => :build + depends_on "libmpdclient" + depends_on "readline" if MacOS.version < :mavericks depends_on "boost" => "c++11" @@ -32,25 +30,27 @@ class Ncmpcpp < Formula depends_on "taglib" end - depends_on 'fftw' if build.include? "visualizer" + depends_on "fftw" if build.include? "visualizer" - option 'outputs', 'Compile with mpd outputs control' - option 'visualizer', 'Compile with built-in visualizer' - option 'clock', 'Compile with optional clock tab' + option "outputs", "Compile with mpd outputs control" + option "visualizer", "Compile with built-in visualizer" + option "clock", "Compile with optional clock tab" needs :cxx11 def install ENV.cxx11 - ENV.append 'LDFLAGS', '-liconv' + ENV.append "LDFLAGS", "-liconv" + args = ["--disable-dependency-tracking", "--prefix=#{prefix}", "--with-taglib", "--with-curl", "--enable-unicode"] - args << '--enable-outputs' if build.include? 'outputs' - args << '--enable-visualizer' if build.include? 'visualizer' - args << '--enable-clock' if build.include? 'clock' + + args << "--enable-outputs" if build.include? "outputs" + args << "--enable-visualizer" if build.include? "visualizer" + args << "--enable-clock" if build.include? "clock" if build.head? # Also runs configure @@ -58,6 +58,6 @@ class Ncmpcpp < Formula else system "./configure", *args end - system "make install" + system "make", "install" end end |
