-
-
Save Yasushi/c0f347ff9e6c5446b34a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Ddskk < Formula | |
url 'http://openlab.ring.gr.jp/skk/maintrunk/ddskk-15.2.tar.gz' | |
homepage 'http://openlab.ring.gr.jp/skk/index-j.html' | |
sha1 '23b7c83dfa4997a0be47fca8cfd316e68f4342ec' | |
patch do | |
url "https://gist.githubusercontent.com/Yasushi/d69a49dc3eb6780952c6/raw/21becd1e99864a1924786d481172855992452b08/ddskk-rename-queue-func.diff" | |
sha1 "ef07cb6707f33d46cc364afa8c1cb829d3670e14" | |
end | |
depends_on 'emacs' | |
def install | |
open("SKK-CFG", 'a'){|f| f.puts(<<-CFG) } | |
(setq SKK_DATADIR "#{share}/skk") | |
(setq SKK_LISPDIR "#{share}/emacs/site-lisp") | |
(setq SKK_INFODIR "#{share}/info") | |
(setq SKK_SET_JISYO nil) | |
(setq SKK_TUTORIALS nil) | |
CFG | |
system "make" | |
system "make install PREFIX=#{prefix}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment