aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2014-12-17 14:53:55 +0000
committerJack Nagel2014-12-17 21:44:05 -0500
commit75d51a5ebb0ed99500d0a3821c7bff9d5cd69fb5 (patch)
treecd5b2880066b833e946ab9eedd2166b45dc5adfa
parentbc91dec4da009082dd0a975725bdfd16929d75fd (diff)
downloadhomebrew-75d51a5ebb0ed99500d0a3821c7bff9d5cd69fb5.tar.bz2
freeswitch: apr dep
Freeswitch requires APR to build. Closes #35055. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/freeswitch.rb28
1 files changed, 13 insertions, 15 deletions
diff --git a/Library/Formula/freeswitch.rb b/Library/Formula/freeswitch.rb
index 1db2a3c39..3ed30b44c 100644
--- a/Library/Formula/freeswitch.rb
+++ b/Library/Formula/freeswitch.rb
@@ -1,10 +1,7 @@
-require 'formula'
-
class Freeswitch < Formula
- homepage 'http://freeswitch.org'
- url 'https://stash.freeswitch.org/scm/fs/freeswitch.git', :tag => 'v1.4.6'
-
- head 'https://stash.freeswitch.org/scm/fs/freeswitch.git'
+ homepage "http://freeswitch.org"
+ url "https://stash.freeswitch.org/scm/fs/freeswitch.git", :tag => "v1.4.6"
+ head "https://stash.freeswitch.org/scm/fs/freeswitch.git"
bottle do
sha1 "a1ff029908457b7a992474b8abd4428c88858128" => :mavericks
@@ -15,14 +12,15 @@ class Freeswitch < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
- depends_on 'pkg-config' => :build
+ depends_on "pkg-config" => :build
+ depends_on :apr => :build
- depends_on 'jpeg'
- depends_on 'curl'
- depends_on 'openssl'
- depends_on 'pcre'
- depends_on 'speex'
- depends_on 'sqlite'
+ depends_on "jpeg"
+ depends_on "curl"
+ depends_on "openssl"
+ depends_on "pcre"
+ depends_on "speex"
+ depends_on "sqlite"
def install
system "./bootstrap.sh -j#{ENV.make_jobs}"
@@ -39,8 +37,8 @@ class Freeswitch < Formula
"--exec_prefix=#{prefix}"
system "make"
- system "make install"
- system "make all cd-sounds-install cd-moh-install"
+ system "make", "install"
+ system "make", "all", "cd-sounds-install", "cd-moh-install"
end
plist_options :manual => "freeswitch -nc --nonat"