Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use new instance var syntax in example formula

  • Loading branch information...
commit 8d405a04bf5c1bd90149e3ef8843f77d34a9de30 1 parent 51dcb8c
@mxcl mxcl authored
View
12 Library/Formula/git.rb
@@ -1,14 +1,14 @@
require 'brewkit'
class GitManuals <Formula
- @url='http://kernel.org/pub/software/scm/git/git-manpages-1.6.4.4.tar.bz2'
- @md5='5ee880f408f1299d541c273fb7e3c1db'
+ url 'http://kernel.org/pub/software/scm/git/git-manpages-1.6.4.4.tar.bz2'
+ md5 '5ee880f408f1299d541c273fb7e3c1db'
end
class Git <Formula
- @url='http://kernel.org/pub/software/scm/git/git-1.6.4.4.tar.bz2'
- @md5='b150352782998ca1f84185e6af53ec26'
- @homepage='http://git-scm.com'
+ url 'http://kernel.org/pub/software/scm/git/git-1.6.4.4.tar.bz2'
+ md5 'b150352782998ca1f84185e6af53ec26'
+ homepage 'http://git-scm.com'
def install
# if these things are installed, tell git build system to not use them
@@ -31,4 +31,4 @@ def install
# on many other packages, and is somewhat crazy, this way is easier
GitManuals.new.brew { man.install Dir['*'] }
end
-end
+end
View
6 Library/Formula/logrotate.rb
@@ -1,9 +1,9 @@
require 'brewkit'
class Logrotate <Formula
- @url='http://ftp.de.debian.org/debian/pool/main/l/logrotate/logrotate_3.7.8.orig.tar.gz'
- @homepage='http://packages.debian.org/testing/admin/logrotate'
- @md5='b3589bea6d8d5afc8a84134fddaae973'
+ url 'http://ftp.de.debian.org/debian/pool/main/l/logrotate/logrotate_3.7.8.orig.tar.gz'
+ homepage 'http://packages.debian.org/testing/admin/logrotate'
+ md5 'b3589bea6d8d5afc8a84134fddaae973'
depends_on 'popt'
View
10 Library/Formula/wget.rb
@@ -1,12 +1,12 @@
require 'brewkit'
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'
+ 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 "./configure", "--disable-debug", "--prefix='#{prefix}'"
system "make install"
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.