diff options
Diffstat (limited to 'Library/Formula/mcrypt-php.rb')
| -rw-r--r-- | Library/Formula/mcrypt-php.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/mcrypt-php.rb b/Library/Formula/mcrypt-php.rb index 4b2baa83d..1ee380456 100644 --- a/Library/Formula/mcrypt-php.rb +++ b/Library/Formula/mcrypt-php.rb @@ -1,21 +1,22 @@ 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' + url 'http://us.php.net/get/php-5.3.6.tar.gz/from/fr.php.net/mirror' version '5.3.6' + md5 '88a2b00047bc53afbbbdf10ebe28a57e' depends_on 'mcrypt' def install - Dir.chdir "ext/mcrypt" - system "phpize" - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--with-mcrypt=#{Formula.factory('mcrypt').prefix}" - system "make" - prefix.install 'modules/mcrypt.so' + cd "ext/mcrypt" do + system "phpize" + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-mcrypt=#{Formula.factory('mcrypt').prefix}" + system "make" + prefix.install 'modules/mcrypt.so' + end end def caveats; <<-EOS.undent |
