forked from rjocoleman/homebrew-apache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_fcgid.rb
25 lines (20 loc) · 801 Bytes
/
mod_fcgid.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'
class ModFcgid < Formula
homepage 'http://httpd.apache.org/mod_fcgid/'
url 'http://archive.apache.org/dist/httpd/mod_fcgid/mod_fcgid-2.3.9.tar.gz'
sha1 '99d6b24f3f83a3a83d1d93d12a0d5992e3fa7851'
head 'http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk'
def install
system "./configure.apxs"
system "make"
libexec.install 'modules/fcgid/.libs/mod_fcgid.so'
end
def caveats; <<-EOS.undent
NOTE: If you're having installation problems relating to a missing `cc` compiler and
`OSX10.8.xctoolchain` or `OSX10.9.xctoolchain`, read the "Troubleshooting" section
of https://github.com/Homebrew/homebrew-apache
You must manually edit /etc/apache2/httpd.conf to contain:
LoadModule fcgid_module #{libexec}/mod_fcgid.so
EOS
end
end