aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-20 22:01:03 -0700
committerAdam Vandenberg2010-10-20 22:06:40 -0700
commitcebdd90a63a030de97f277334536afb438d393c8 (patch)
tree16699670dbe168c51ee37741e6ee1cdbab37ff37 /Library/Formula
parent456044139815c407233a1676a4c37f0cb81b38c7 (diff)
downloadhomebrew-cebdd90a63a030de97f277334536afb438d393c8.tar.bz2
mpd - formatting
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mpd.rb25
1 files changed, 11 insertions, 14 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb
index a5591b387..6af1b0efb 100644
--- a/Library/Formula/mpd.rb
+++ b/Library/Formula/mpd.rb
@@ -26,21 +26,18 @@ class Mpd <Formula
# make faad.h findable (when brew is used elsewhere than /usr/local/)
ENV.append 'CFLAGS', "-I#{HOMEBREW_PREFIX}/include"
- configure_args = [
- "--prefix=#{prefix}",
- "--disable-debug",
- "--disable-dependency-tracking",
- "--enable-bzip2",
- "--enable-flac",
- "--enable-shout",
- "--enable-fluidsynth",
- "--enable-zip",
- "--enable-lame-encoder",
- ]
- configure_args << "--disable-curl" if MACOS_VERSION <= 10.5
- configure_args << "--enable-lastfm" if ARGV.include?("--lastfm")
+ args = ["--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--enable-bzip2",
+ "--enable-flac",
+ "--enable-shout",
+ "--enable-fluidsynth",
+ "--enable-zip",
+ "--enable-lame-encoder"]
+ args << "--disable-curl" if MACOS_VERSION <= 10.5
+ args << "--enable-lastfm" if ARGV.include?("--lastfm")
- system "./configure", *configure_args
+ system "./configure", *args
system "make install"
end
end