Skip to content
Browse files

Update and cleanup PHP modules

  • Loading branch information...
1 parent e071ce3 commit faf123d0d53d0a43839ef2e782b1b858fe8f797e @e-nomem e-nomem committed with josegonzalez Feb 24, 2012
Showing with 22 additions and 20 deletions.
  1. +2 −2 Formula/imagick.rb
  2. +4 −4 Formula/mcrypt-php.rb
  3. +2 −2 Formula/mongo-php.rb
  4. +3 −2 Formula/pcntl-php.rb
  5. +3 −3 Formula/phpmyadmin.rb
  6. +4 −3 Formula/pspell-php.rb
  7. +2 −2 Formula/solr-php.rb
  8. +2 −2 Formula/xcache.rb
View
4 Formula/imagick.rb
@@ -12,14 +12,14 @@ def install
system "phpize"
system "./configure", "--prefix=#{prefix}"
system "make"
- (lib+'php/extensions').install 'modules/imagick.so'
+ prefix.install 'modules/imagick.so'
end
end
def caveats; <<-EOS.undent
To finish installing Imagick:
Edit php.ini file
- extension="#{lib}/php/extensions/imagick.so"
+ extension="#{prefix}/imagick.so"
Restart your webserver
EOS
end
View
8 Formula/mcrypt-php.rb
@@ -1,10 +1,10 @@
require 'formula'
class McryptPhp < Formula
- url 'http://us.php.net/get/php-5.3.6.tar.gz/from/fr.php.net/mirror'
- homepage 'http://php.net/manual/fr/book.mcrypt.php'
- md5 '88a2b00047bc53afbbbdf10ebe28a57e'
- version '5.3.6'
+ url 'http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror'
+ homepage 'http://php.net/manual/en/book.mcrypt.php'
+ md5 '816259e5ca7d0a7e943e56a3bb32b17f'
+ version '5.3.10'
depends_on 'mcrypt'
View
4 Formula/mongo-php.rb
@@ -1,9 +1,9 @@
require 'formula'
class MongoPhp < Formula
- url 'http://pecl.php.net/get/mongo-1.2.6.tgz'
+ url 'http://pecl.php.net/get/mongo-1.2.9.tgz'
homepage 'http://pecl.php.net/package/mongo'
- md5 'b471f3d9309c2caa52ea90122042d3f4'
+ md5 'ca0155e1dcb817ca5d6797d40aa19da7'
def install
Dir.chdir "mongo-#{version}" do
View
5 Formula/pcntl-php.rb
@@ -1,9 +1,10 @@
require 'formula'
class PcntlPhp < Formula
- url 'http://museum.php.net/php5/php-5.3.6.tar.gz'
+ url 'http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror'
homepage 'http://php.net/manual/en/book.pcntl.php'
- md5 '88a2b00047bc53afbbbdf10ebe28a57e'
+ md5 '816259e5ca7d0a7e943e56a3bb32b17f'
+ version '5.3.10'
def install
Dir.chdir "ext/pcntl"
View
6 Formula/phpmyadmin.rb
@@ -1,10 +1,10 @@
require 'formula'
class Phpmyadmin < Formula
- url 'http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.7/phpMyAdmin-3.4.7-all-languages.tar.gz'
+ url 'http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.10.1/phpMyAdmin-3.4.10.1-all-languages.tar.bz2'
homepage 'http://www.phpmyadmin.net/documentation'
- md5 'b422d003ed6239bc9f96c02af6c66405'
- version '3.4.7'
+ md5 '9eed98427c27685d665630b1aded1d85'
+ version '3.4.10.1'
depends_on 'mcrypt-php'
View
7 Formula/pspell-php.rb
@@ -2,8 +2,9 @@
class PspellPhp < Formula
homepage 'http://php.net/manual/en/book.pspell.php'
- url 'http://museum.php.net/php5/php-5.3.6.tar.gz'
- md5 '88a2b00047bc53afbbbdf10ebe28a57e'
+ url 'http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror'
+ md5 '816259e5ca7d0a7e943e56a3bb32b17f'
+ version '5.3.10'
depends_on 'aspell'
@@ -12,7 +13,7 @@ def install
system "phpize"
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
- "--with-pspell=#{HOMEBREW_PREFIX}"
+ "--with-pspell=#{Formula.factory('aspell').prefix}"
system "make"
prefix.install 'modules/pspell.so'
end
View
4 Formula/solr-php.rb
@@ -1,9 +1,9 @@
require 'formula'
class SolrPhp < Formula
- url 'http://pecl.php.net/get/solr-1.0.1.tgz'
+ url 'http://pecl.php.net/get/solr-1.0.2.tgz'
homepage 'http://pecl.php.net/package/solr'
- md5 '538adecfd52a79feae777870edcfd5d7'
+ md5 '1632144b462ab22b91d03e4d59704fab'
def install
Dir.chdir "solr-#{version}" do
View
4 Formula/xcache.rb
@@ -1,9 +1,9 @@
require 'formula'
class Xcache < Formula
- url 'http://xcache.lighttpd.net/pub/Releases/1.3.1/xcache-1.3.1.tar.gz'
+ url 'http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.bz2'
homepage 'http://xcache.lighttpd.net/'
- md5 'aff79b19c7623ba923233ae193e9537a'
+ md5 '56ff8139c9773216dd6e2a85860aad94'
def install
# See https://github.com/mxcl/homebrew/issues/issue/69

0 comments on commit faf123d

Please sign in to comment.
Something went wrong with that request. Please try again.