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.
This commit is contained in:
Adam Vandenberg 2010-07-06 13:14:19 -07:00
parent 92a3f78cc2
commit 13201b7318
5 changed files with 12 additions and 18 deletions

View file

@ -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'

View file

@ -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

View file

@ -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'

View file

@ -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'

View file

@ -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