Skip to content

Commit

Permalink
Add twig PECL
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Poitrey committed Mar 2, 2012
1 parent 2d2a44a commit aaea60c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions twig-php.rb
@@ -0,0 +1,19 @@
require 'formula'

# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!

class TwigPhp < Formula
homepage 'http://twig.sensiolabs.org/'
url 'https://github.com/fabpot/Twig/tarball/v1.6.1'
md5 ''

def install
cd "ext/twig" do
system "phpize"
system "./configure", "--prefix=#{prefix}"
system "make"
prefix.install 'modules/twig.so'
end
end
end

0 comments on commit aaea60c

Please sign in to comment.