mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 04:19:42 -05:00
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
13 lines
300 B
Ruby
13 lines
300 B
Ruby
require 'formula'
|
|
|
|
class Wget <Formula
|
|
homepage 'http://www.gnu.org/software/wget/'
|
|
url 'http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.bz2'
|
|
md5 'f5076a8c2ec2b7f334cb6e3059820f9c'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|