diff options
| author | Jack Nagel | 2014-03-18 12:13:30 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-18 12:13:30 -0500 |
| commit | 25e252c4b8d680b4b84213badc53167d74cb9645 (patch) | |
| tree | b88d0d723cde9fa1157974d59f7de90822d2367c /Library/Formula | |
| parent | 96703c6c5476c3dfbaecd76e0779d7ef01eb0510 (diff) | |
| download | homebrew-25e252c4b8d680b4b84213badc53167d74cb9645.tar.bz2 | |
cmigemo: use patch DSL
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cmigemo.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/cmigemo.rb b/Library/Formula/cmigemo.rb index a8d1bcd37..6e51e1500 100644 --- a/Library/Formula/cmigemo.rb +++ b/Library/Formula/cmigemo.rb @@ -2,17 +2,19 @@ require 'formula' class Cmigemo < Formula homepage 'http://www.kaoriya.net/software/cmigemo' - url 'https://cmigemo.googlecode.com/files/cmigemo-default-src-20110227.zip' - sha1 '25e279c56d3a8f1e82cbfb3526d1b38742d1d66c' - head 'https://github.com/koron/cmigemo.git' - depends_on 'nkf' => :build + stable do + url "https://cmigemo.googlecode.com/files/cmigemo-default-src-20110227.zip" + sha1 "25e279c56d3a8f1e82cbfb3526d1b38742d1d66c" - # Patch per discussion at: https://github.com/Homebrew/homebrew/pull/7005 - def patches - DATA if build.stable? + # Patch per discussion at: https://github.com/Homebrew/homebrew/pull/7005 + patch :DATA end + head 'https://github.com/koron/cmigemo.git' + + depends_on 'nkf' => :build + def install system "chmod +x ./configure" system "./configure", "--prefix=#{prefix}" |
