Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add mirrors to GNU formulae

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit 47d989669da7e23ccc3264aa0aa241269ed59b07 1 parent 2c1af30
@jacknagel jacknagel authored
View
3  bison.rb
@@ -1,8 +1,9 @@
require 'formula'
class Bison < Formula
- url 'http://ftpmirror.gnu.org/bison/bison-2.5.tar.bz2'
homepage 'http://www.gnu.org/software/bison/'
+ url 'http://ftpmirror.gnu.org/bison/bison-2.5.tar.bz2'
+ mirror 'http://ftp.gnu.org/gnu/bison/bison-2.5.tar.bz2'
md5 '9dba20116b13fc61a0846b0058fbe004'
def install
View
1  diffutils.rb
@@ -3,6 +3,7 @@
class Diffutils < Formula
homepage 'http://www.gnu.org/s/diffutils/'
url 'http://ftpmirror.gnu.org/diffutils/diffutils-3.2.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/diffutils/diffutils-3.2.tar.gz'
md5 '22e4deef5d8949a727b159d6bc65c1cc'
def install
View
1  gcc.rb
@@ -58,6 +58,7 @@ class Ecj < Formula
class Gcc < Formula
homepage 'http://gcc.gnu.org'
url 'http://ftpmirror.gnu.org/gcc/gcc-4.6.2/gcc-4.6.2.tar.bz2'
+ mirror 'http://ftp.gnu.org/gnu/gcc/gcc-4.6.2/gcc-4.6.2.tar.bz2'
md5 '028115c4fbfb6cfd75d6369f4a90d87e'
depends_on 'gmp'
View
1  gdb.rb
@@ -3,6 +3,7 @@
class Gdb < Formula
homepage 'http://www.gnu.org/software/gdb/'
url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2'
+ mirror 'http://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2'
md5 'b89a5fac359c618dda97b88645ceab47'
depends_on 'readline'
View
8 groff.rb
@@ -1,15 +1,13 @@
require 'formula'
class Groff < Formula
+ homepage 'http://www.gnu.org/software/groff/'
url 'http://ftpmirror.gnu.org/groff/groff-1.21.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/groff/groff-1.21.tar.gz'
md5 '8b8cd29385b97616a0f0d96d0951c5bf'
- homepage 'http://www.gnu.org/software/groff/'
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug",
- "--disable-dependency-tracking",
- "--without-x"
- system "make"
+ system "./configure", "--prefix=#{prefix}", "--without-x"
system "make install"
end
end
View
3  make.rb
@@ -1,8 +1,9 @@
require 'formula'
class Make < Formula
- url 'http://ftpmirror.gnu.org/make/make-3.82.tar.gz'
homepage 'http://www.gnu.org/software/make/'
+ url 'http://ftpmirror.gnu.org/make/make-3.82.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/make/make-3.82.tar.gz'
md5 '7f7c000e3b30c6840f2e9cf86b254fac'
keg_only :provided_by_osx
View
3  ncurses.rb
@@ -1,8 +1,9 @@
require 'formula'
class Ncurses < Formula
- url 'http://ftpmirror.gnu.org/ncurses/ncurses-5.9.tar.gz'
homepage 'http://www.gnu.org/s/ncurses/'
+ url 'http://ftpmirror.gnu.org/ncurses/ncurses-5.9.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz'
sha1 '3e042e5f2c7223bffdaac9646a533b8c758b65b5'
def options
View
17 screen.rb
@@ -1,11 +1,9 @@
require 'formula'
-# This duplicates the system "screen", but fixes the ability
-# to use vertical splits.
-
class Screen < Formula
- url 'http://ftpmirror.gnu.org/screen/screen-4.0.3.tar.gz'
homepage 'http://www.gnu.org/software/screen'
+ url 'http://ftpmirror.gnu.org/screen/screen-4.0.3.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz'
md5 '8506fd205028a96c741e4037de6e3c42'
version '4.00.03'
@@ -17,12 +15,15 @@ def patches
def install
if ARGV.build_head?
- cd 'src'
- system "autoconf"
- system "autoheader"
+ cd 'src' do
+ system "autoconf"
+ system "autoheader"
+ end
end
- system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--infodir=#{info}",
+ system "./configure", "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--infodir=#{info}",
"--enable-colors256"
system "make"
system "make install"
Please sign in to comment.
Something went wrong with that request. Please try again.