plt-racket: use source distribution.

A source distribution for a release is configured with a suitable
package catalog, which avoids the problem reported as Racket PR 14648
(query at http://bugs.racket-lang.org/).

Using the "builtpkgs" variant of the source distribution makes the
installation work with pre-built packages, which enables faster installs
of Racket packages.
master
Matthew Flatt 2014-07-23 13:48:22 +01:00 committed by Mike McQuaid
parent bfe7317701
commit 21f92d731a
1 changed files with 4 additions and 3 deletions

View File

@ -2,11 +2,12 @@ require "formula"
class PltRacket < Formula
homepage "http://racket-lang.org/"
url "https://github.com/plt/racket/archive/v6.0.1.tar.gz"
sha1 "c459860b5bc9c37f6e5d9f3e74ae8fcdd44ef45e"
url "http://mirror.racket-lang.org/installers/6.0.1/racket-minimal-6.0.1-src-builtpkgs.tgz"
sha1 "41bc76a8e0ffb5d2b108d52faeca1d6ed71a4318"
version "6.0.1"
def install
cd 'racket/src' do
cd 'src' do
args = ["--disable-debug", "--disable-dependency-tracking",
"--enable-macprefix",
"--prefix=#{prefix}",