diff options
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/index.html b/index.html new file mode 100644 index 000000000..c47cc8629 --- /dev/null +++ b/index.html @@ -0,0 +1,129 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> + <head> + <title>Homebrew - The missing package manager for OS X</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta name="dc.creator" content="Rémi Prévost - http://remiprevost.com" /> + + <link rel="stylesheet" href="./css/screen.css" type="text/css" media="screen" /> + <link rel="stylesheet" href="./css/fonts/chunkfive/chunkfive.css" type="text/css" media="screen" /> + + </head> + <body> + <div id="wrap"> + <div id="header"> + <h1><a href="./">Homebrew</a></h1> + <p id="subtitle"><strong>The missing package manager for OS X</strong></p> + </div> + + <div id="informations"> + <ul> + <li> + <div class="group row"> + <div class="col-1"> + <p>Homebrew is the easiest way to install the UNIX tools Apple didn't include with OS X.</p> + </div> + <div class="col-2"> + <pre><code><span style="color: #e3d796;">$</span> brew install wget</code></pre> + </div> + </div> + </li> + <li> + <div class="group row"> + <div class="col-1"> + <p>Homebrew installs packages into their own isolated prefix and then symlinks everything into <code>/usr/local</code>.</p> + </div> + <div class="col-2"> + <pre><code><span style="color: #e3d796;">$</span> cd /usr/local +<span style="color: #e3d796;">$</span> find Cellar +Cellar/wget/1.12 +Cellar/wget/1.12/bin/wget +Cellar/wget/1.12/share/man/man1/wget.1 + +<span style="color: #e3d796;">$</span> ls -l bin +bin/wget -> ../Cellar/wget/1.12/bin/wget</code></pre> + + </div> + </div> + </li> + <li> + <div class="group row"> + <div class="col-1"> + <p>Homebrew is self contained and unintrusive. </p> + <p class="button"><a href="http://wiki.github.com/mxcl/homebrew/installation">Install Homebrew Today!</a></p> + </div> + <div class="col-2"> + </div> + </div> + </li> + <li> + <div class="group row"> + <div class="col-1"> + <p>Create your own Homebrew packages in seconds.</p> + <p class="button"><a href="http://wiki.github.com/mxcl/homebrew/formula-cookbook">Incredible Brewing Guide Here!</a></p> + </div> + <div class="col-2"> + <pre><code><span style="color: #e3d796;">$</span> brew create http://example.com/foo-0.1.tar.gz +Created /usr/local/Library/Formula/foo.rb</code></pre> + </div> + </div> + </li> + <li> + <div class="group row"> + <div class="col-1"> + <p>Homebrew has a Git foundation, so enjoy version control on your brewing customizations and easily merge upstream updates. </p> + </div> + <div class="col-2"> + <pre><code><span style="color: #e3d796;">$</span> brew edit wget <span style="color: #666;"># opens the formula in TextMate!</span></code></pre> + </div> + </div> + </li> + <li> + <div class="group row"> + <div class="col-1"> + <p>Homebrew formula are simple Ruby scripts:</p> + </div> + <div class="col-2"> + <pre><code><span style="color: #8a9597;">require</span> <span style="color: #c2c98f;">'</span><span style="color: #a2a96f;">formula</span><span style="color: #c2c98f;">'</span> + +<span style="color: #8a9597;">class</span> <span style="color: #e3d796;"><em>Wget</em></span> <Formula + homepage <span style="color: #c2c98f;">'</span><span style="color: #a2a96f;">http://www.gnu.org/software/wget/</span><span style="color: #c2c98f;">'</span> + url <span style="color: #c2c98f;">'</span><span style="color: #a2a96f;">http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2</span><span style="color: #c2c98f;">'</span> + md5 <span style="color: #c2c98f;">'</span><span style="color: #a2a96f;">308a5476fc096a8a525d07279a6f6aa3</span><span style="color: #c2c98f;">'</span> + + <span style="color: #8a9597;">def</span> <span style="color: #a999ac;">install</span> + system <span style="color: #c2c98f;">"</span><span style="color: #a2a96f;">./configure</span><span style="color: #c2c98f;">"</span>, <span style="color: #c2c98f;">"</span><span style="color: #a2a96f;">--disable-debug</span><span style="color: #c2c98f;">"</span>, <span style="color: #c2c98f;">"</span><span style="color: #a2a96f;">--prefix=</span><span style="color: #c2c98f;">#{</span>prefix<span style="color: #c2c98f;">}</span><span style="color: #c2c98f;">"</span> + system <span style="color: #c2c98f;">"</span><span style="color: #a2a96f;">make install</span><span style="color: #c2c98f;">"</span> + <span style="color: #8a9597;">end</span> +<span style="color: #8a9597;">end</span></code></pre> + </div> + </div> + </li> + <li> + <div class="group row"> + <div class="col-1"> + <p>Homebrew compliments OS X. Install your gems with gem, and their dependencies with brew. </p> + </div> + </div> + </li> + <li> + <div class="row group button button-large"> + <p><a href="http://wiki.github.com/mxcl/homebrew">Vastly More Information Here!</a></p> + </div> + </li> + <li> + <div class="group row quote"> + <blockquote> + <span>“</span> + Homebrew is the bee’s knees, friends. So far it’s a perfect replacement for MacPorts. + <span>”</span> + </blockquote> + <cite>— <a href="http://twitter.com/thillerson/status/6688848379">@thillerson</a></cite> + </div> + </li> + </ul> + </div> + </div> + <a href="http://github.com/mxcl/homebrew"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub" /></a> + </body> +</html> |
