aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/midgard2-php.rb
diff options
context:
space:
mode:
authorJose Diaz-Gonzalez2012-03-15 03:03:29 -0400
committerMax Howell2012-03-16 22:43:06 +0000
commit6ee85cdc7759e326b53dcb969b60eb0d7da5dc35 (patch)
tree39ce9ce9267f85898a6aa36ab280c0a4c959b518 /Library/Formula/midgard2-php.rb
parent6ec0503f3356485bf5a8991d3eba0de0ca2fa7b6 (diff)
downloadhomebrew-6ee85cdc7759e326b53dcb969b60eb0d7da5dc35.tar.bz2
Remove PHP formula from homebrew.
Refs #10673. Closes #10957. Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library/Formula/midgard2-php.rb')
-rw-r--r--Library/Formula/midgard2-php.rb30
1 files changed, 0 insertions, 30 deletions
diff --git a/Library/Formula/midgard2-php.rb b/Library/Formula/midgard2-php.rb
deleted file mode 100644
index 3dfcff380..000000000
--- a/Library/Formula/midgard2-php.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-require 'formula'
-
-class Midgard2Php < Formula
- url 'http://www.midgard-project.org/midcom-serveattachmentguid-025abaac43f811e0b064792d116f21f421f4/php5-midgard2-10.05.4.tar.gz'
- head 'https://github.com/midgardproject/midgard-php5.git', :branch => 'ratatoskr'
- homepage 'http://www.midgard-project.org/'
- md5 'a715d76abdb6ef1bb5eb8c9973fbba16'
-
- depends_on 'pkg-config' => :build
- depends_on 'midgard2'
-
- def install
- system "/usr/bin/phpize"
- system "./configure", "--with-php-config=/usr/bin/php-config"
-
- system "make"
- prefix.install 'modules/midgard2.so'
- end
-
- def caveats
- <<-END_CAVEATS
- * Add the following line to php.ini:
- extension="#{prefix}/midgard2.so"
- * Restart your webserver.
- * Write a PHP page that calls "phpinfo();"
- * Load it in a browser and look for the info on the midgard2 module.
- * If you see it, you have been successful!
- END_CAVEATS
- end
-end