diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nkf.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/nkf.rb b/Library/Formula/nkf.rb new file mode 100644 index 000000000..a2d3008e3 --- /dev/null +++ b/Library/Formula/nkf.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Nkf < Formula + + url 'http://heian.s3.amazonaws.com/nkf-2.1.0.tar.gz' + homepage 'http://sourceforge.jp/projects/nkf/' + md5 '1d3fd56ccd2f60768e59dde44ccf095c' + + def install + ENV['prefix'] = prefix + system 'make' + system 'make install' + end + + def patches + # Makefile patch + [ 'http://heian.s3.amazonaws.com/nkf-2.1.0.patch' ] + end +end + |
