diff options
| author | Adam Vandenberg | 2010-07-06 13:14:19 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-06 13:17:59 -0700 |
| commit | 68ee0f0156197d9d7dbf6b9c60df2f938b83b3a5 (patch) | |
| tree | f6bfb02ab3c6964b252dd6b45f3cd8133f6e59b0 | |
| parent | eab7053dda2afdc2e277a46b04fe7ad27ddd0533 (diff) | |
| download | homebrew-68ee0f0156197d9d7dbf6b9c60df2f938b83b3a5.tar.bz2 | |
Update formula to use Debian version style
* Debian downloads have ".orig" in the tarball name. Now that
Pathname supports this style, remove explicit versions from some brews.
| -rw-r--r-- | Library/Formula/bmon.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/dash.rb | 12 | ||||
| -rw-r--r-- | Library/Formula/mmv.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/sl.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/urlview.rb | 13 |
5 files changed, 12 insertions, 18 deletions
diff --git a/Library/Formula/bmon.rb b/Library/Formula/bmon.rb index fe86729f8..b34135183 100644 --- a/Library/Formula/bmon.rb +++ b/Library/Formula/bmon.rb @@ -4,7 +4,6 @@ class Bmon <Formula url 'http://ftp.debian.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz' homepage 'http://freshmeat.net/projects/bmon/' # actually: http://people.suug.ch/~tgr/bmon md5 'd0da9d05f18c82a621171985d536dec7' - version '2.0.1' depends_on 'ncursesw' diff --git a/Library/Formula/dash.rb b/Library/Formula/dash.rb index 098c549a6..8fa4e0d74 100644 --- a/Library/Formula/dash.rb +++ b/Library/Formula/dash.rb @@ -1,14 +1,14 @@ require 'formula' class Dash <Formula - @url='http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.5.1.orig.tar.gz' - @homepage='http://packages.debian.org/sid/dash' - @md5='7ac832b440b91f5a52cf8eb68e172616' - @version='0.5.5.1' + url 'http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.5.1.orig.tar.gz' + homepage 'http://packages.debian.org/sid/dash' + md5 '7ac832b440b91f5a52cf8eb68e172616' def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", - "--with-libedit" + system "./configure", "--disable-debug", + "--prefix=#{prefix}", + "--with-libedit" system "make" system "make install" end diff --git a/Library/Formula/mmv.rb b/Library/Formula/mmv.rb index 45039c645..e84d1bed8 100644 --- a/Library/Formula/mmv.rb +++ b/Library/Formula/mmv.rb @@ -1,8 +1,7 @@ require 'formula' class Mmv <Formula - version '1.01b' - url "http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_#{version}.orig.tar.gz" + url "http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz" md5 '1b2135ab2f17bdfa9e08debbb3c46ad8' homepage 'http://packages.debian.org/unstable/utils/mmv' diff --git a/Library/Formula/sl.rb b/Library/Formula/sl.rb index d2040476e..295b1323b 100644 --- a/Library/Formula/sl.rb +++ b/Library/Formula/sl.rb @@ -2,7 +2,6 @@ require 'formula' class Sl <Formula url 'http://ftp.de.debian.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz' - version '3.03' homepage 'http://packages.debian.org/source/oldstable/sl' md5 'd0d997b964bb3478f7f4968eee13c698' diff --git a/Library/Formula/urlview.rb b/Library/Formula/urlview.rb index 4af8dd6ea..ecae3728c 100644 --- a/Library/Formula/urlview.rb +++ b/Library/Formula/urlview.rb @@ -4,7 +4,7 @@ class Urlview <Formula url 'http://ftp.de.debian.org/debian/pool/main/u/urlview/urlview_0.9.orig.tar.gz' homepage 'http://packages.debian.org/unstable/misc/urlview' md5 '4f253c82b59136181b1f0bf218ef059d' - + def patches "http://ftp.de.debian.org/debian/pool/main/u/urlview/urlview_0.9-18.1.diff.gz" end @@ -14,13 +14,10 @@ class Urlview <Formula inreplace 'urlview.c', '#define DEFAULT_COMMAND "/etc/urlview/url_handler.sh %s"', '#define DEFAULT_COMMAND "open %s"' - configure_args = [ - "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking", - ] - system "./configure", *configure_args - man1.mkpath() + + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + man1.mkpath system "make install" end end |
