mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-03 05:59:45 -05:00
clojure: Update to v1.3.0
Closes #7893. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
1 parent
82fd7f0d51
commit
c56dccfac2
1 file changed
+4
-4
@@ -1,8 +1,8 @@
|
||||
require 'formula'
|
||||
|
||||
class Clojure < Formula
|
||||
url 'https://github.com/downloads/clojure/clojure/clojure-1.2.1.zip'
|
||||
md5 'c5724c624fd6ce6a1d00252c27d53ebe'
|
||||
url 'http://repo1.maven.org/maven2/org/clojure/clojure/1.3.0/clojure-1.3.0.zip'
|
||||
md5 'de91ee9914017a38c7cc391ab8fcbc1a'
|
||||
head 'https://github.com/clojure/clojure.git'
|
||||
homepage 'http://clojure.org/'
|
||||
|
||||
@@ -12,7 +12,7 @@ class Clojure < Formula
|
||||
# With no arguments runs Clojure's REPL.
|
||||
|
||||
# Put the Clojure jar from the cellar and the current folder in the classpath.
|
||||
CLOJURE=$CLASSPATH:#{prefix}/clojure.jar:${PWD}
|
||||
CLOJURE=$CLASSPATH:#{prefix}/clojure-1.3.0.jar:${PWD}
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
java -cp $CLOJURE clojure.main --repl
|
||||
@@ -24,7 +24,7 @@ class Clojure < Formula
|
||||
|
||||
def install
|
||||
system "ant" if ARGV.build_head?
|
||||
prefix.install 'clojure.jar'
|
||||
prefix.install 'clojure-1.3.0.jar'
|
||||
(prefix+'classes').mkpath
|
||||
(bin+'clj').write script
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user