diff options
| author | Adam Vandenberg | 2013-02-07 16:29:41 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-07 16:29:41 -0800 |
| commit | 4462b4a217df02f911cc3fa6ea44c50487781edd (patch) | |
| tree | 6e9f4ca7b36807553446e00a0fe61d45637db776 /Library | |
| parent | ab681ac95d312ba97bb6e9933c6a72f986e65919 (diff) | |
| download | homebrew-4462b4a217df02f911cc3fa6ea44c50487781edd.tar.bz2 | |
Move freeswitch to the boneyard.
Closes #16014.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/freeswitch.rb | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/Library/Formula/freeswitch.rb b/Library/Formula/freeswitch.rb deleted file mode 100644 index 8db18e8e4..000000000 --- a/Library/Formula/freeswitch.rb +++ /dev/null @@ -1,59 +0,0 @@ -require 'formula' - -class Freeswitch < Formula - homepage 'http://freeswitch.org' - url 'git://git.freeswitch.org/freeswitch.git', :tag => 'v1.2.0' - version '1.2.0' - - head 'git://git.freeswitch.org/freeswitch.git' - - depends_on :autoconf - depends_on :automake - depends_on :libtool - - depends_on 'pkg-config' => :build - depends_on 'jpeg' - - def install - system "./bootstrap.sh -j#{ENV.make_jobs}" - system "./configure", "--disable-dependency-tracking", - "--enable-shared", - "--enable-static", - "--prefix=#{prefix}", - "--exec_prefix=#{prefix}" - - system "make" - system "make install" - system "make all cd-sounds-install cd-moh-install" - end - - plist_options :manual => "freeswitch -nc --nonat" - - def plist; <<-EOS.undent - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> - <plist version="1.0"> - <dict> - <key>KeepAlive</key> - <true/> - <key>Label</key> - <string>#{plist_name}</string> - <key>ProgramArguments</key> - <array> - <string>#{bin}/freeswitch</string> - <string>-nc</string> - <string>-nonat</string> - </array> - <key>RunAtLoad</key> - <true/> - <key>ServiceIPC</key> - <true/> - </dict> - </plist> - EOS - end - - def test - system "#{bin}/freeswitch", "-version" - end -end |
