11class Jskeus < Formula
22 desc "EusLisp software used by JSK at The University of Tokyo"
33 homepage "https://github.com/euslisp/jskeus"
4- url "https://github.com/euslisp/jskeus/archive/1.0.13 .tar.gz"
5- sha256 "86437c939093d5c77776a6acf52453c49bdcb2b9d3b6e7956403ec34c476df7d "
4+ url "https://github.com/euslisp/jskeus/archive/1.2.1 .tar.gz"
5+ sha256 "69788a9b8d4b2137c84df475b9ea02e708a036246d3a3d4c7e16a390ce35b7ae "
66 head "https://github.com/euslisp/jskeus.git"
77
88 bottle do
@@ -12,15 +12,15 @@ class Jskeus < Formula
1212 sha256 "0db86c355a4fdea0465d51314c6457c27cb535a8af9019601479edc929026197" => :mavericks
1313 end
1414
15- depends_on :x11
15+ depends_on "wget" => :build
1616 depends_on "jpeg"
1717 depends_on "libpng"
1818 depends_on "mesalib-glw"
19- depends_on "wget" => :build
19+ depends_on :x11
2020
2121 resource "euslisp" do
22- url "https://github.com/euslisp/EusLisp/archive/EusLisp-9.16 .tar.gz"
23- sha256 "1e60ba14d627ecb0f426bd60ea91df971855b2b076efa1c50598b420cab93a08 "
22+ url "https://github.com/euslisp/EusLisp/archive/EusLisp-9.23 .tar.gz"
23+ sha256 "6c4436ddbdfd8bf065717a98cfd9d262ce283b06fff5b223b48dd2cf5fe3998f "
2424 end
2525
2626 def install
@@ -31,7 +31,7 @@ def install
3131 prefix . install "Makefile" , Dir [ "{doc,images,irteus}" ]
3232 ( prefix /"eus" ) . install resource ( "euslisp" )
3333
34- executables = [ " eus" , " eus0" , " eus1" , " eus2" , " euscomp" , " eusg" , " eusgl" , " eusx" , " irteus" , " irteusgl" ]
34+ executables = %w[ eus eus0 eus1 eus2 euscomp eusg eusgl eusx irteus irteusgl ]
3535
3636 cd prefix do
3737 system "make"
@@ -43,7 +43,7 @@ def install
4343
4444 bin . mkpath
4545 executables . each do |exec |
46- ( bin /exec ) . write <<- EOS
46+ ( bin /exec ) . write <<~ EOS
4747 #!/bin/bash
4848 EUSDIR=#{ opt_prefix } /eus ARCHDIR=Darwin LD_LIBRARY_PATH=$EUSDIR/$ARCHDIR/bin:$LD_LIBRARY_PATH exec #{ libexec } /#{ exec } "$@"
4949 EOS
0 commit comments