diff options
| author | Joe Shaw | 2009-09-22 22:30:16 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-30 01:24:31 +0100 |
| commit | 8da18b0504d20b1957a9f5484bfae9ef1181f205 (patch) | |
| tree | 22bd51cb9d7b4832ef06828f51077f6d857cd075 /Library/Formula | |
| parent | 25e5766843731bb3ccc75f47783260055eb2ece5 (diff) | |
| download | homebrew-8da18b0504d20b1957a9f5484bfae9ef1181f205.tar.bz2 | |
Add a formula for GNU sed.
Installs as $prefix/bin/gsed, like the Macports version. This
makes it easier to alias so that you don't have to put $prefix/bin
ahead of /usr/bin in your $PATH.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnu-sed.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/gnu-sed.rb b/Library/Formula/gnu-sed.rb new file mode 100644 index 000000000..1a215ec61 --- /dev/null +++ b/Library/Formula/gnu-sed.rb @@ -0,0 +1,12 @@ +require 'brewkit' + +class GnuSed <Formula + @url='http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.bz2' + @homepage='http://www.gnu.org/software/sed/' + @md5='7d310fbd76e01a01115075c1fd3f455a' + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--program-prefix=g" + system "make install" + end +end |
