Skip to content

Commit

Permalink
mlkit: remove requirement
Browse files Browse the repository at this point in the history
mlton has an install location requirement, and this does not strictly
need to be duplicated in mlkit
  • Loading branch information
adamv committed Aug 9, 2013
1 parent c1bab91 commit 68d293e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Formula/mlkit.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
require 'formula'

class StandardHomebrewLocation < Requirement
satisfy HOMEBREW_PREFIX.to_s == "/usr/local"

def message; <<-EOS.undent
mlton won't work outside of /usr/local
Because this uses pre-compiled binaries, it will not work if
Homebrew is installed somewhere other than /usr/local; mlton
will be unable to find GMP.
EOS
end
end

class Mlkit < Formula
homepage 'http://sourceforge.net/apps/mediawiki/mlkit'
url 'http://downloads.sourceforge.net/project/mlkit/mlkit-4.3.7/mlkit-4.3.7.tgz'
sha1 '7c1f69f0cde271f50776d33b194699b403bab598'

depends_on StandardHomebrewLocation
depends_on :autoconf => :build
depends_on 'mlton' => :build
depends_on :tex
Expand Down

0 comments on commit 68d293e

Please sign in to comment.