diff options
| author | Nibbles McGurk | 2011-09-14 15:28:29 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-23 20:33:14 -0700 |
| commit | 12a4e662c979ba99fa850ec539ac26170f4adcbe (patch) | |
| tree | b786e9eec492500a024a4e2bef4dba488671497e /Library/Formula | |
| parent | daee5d343df6186ca92f3c027efc88f83fc4b8c8 (diff) | |
| download | homebrew-12a4e662c979ba99fa850ec539ac26170f4adcbe.tar.bz2 | |
dash: Update to 0.5.7 and added glob + fnmatch
dash gets an update to 0.5.7 plus a few additional configure flags
to add functionality to its shell supporting file and directory
globbing and matching expressions from libc fnmatch(3) and glob(3).
I also added a test def. This was compiled on OSX 64bit 10.6.8
using llvm 2335 and gcc-4.2.1. It fails_with_clang, an ld error,
though I've not seen fails_with_clang in a formula so I left it out.
Undefined symbols for architecture x86_64:
"_bgcmd", referenced from:
_builtincmd in builtins.o
Closes #7637.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dash.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Library/Formula/dash.rb b/Library/Formula/dash.rb index e97298d0e..5eac688d0 100644 --- a/Library/Formula/dash.rb +++ b/Library/Formula/dash.rb @@ -1,9 +1,9 @@ require 'formula' class Dash < Formula - url 'http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.6.1.tar.gz' + url 'http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.7.tar.gz' homepage 'http://gondor.apana.org.au/~herbert/dash/' - sha1 '06944456a1e3a2cbc325bffd0c898eff198b210a' + sha1 'a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6' head 'https://git.kernel.org/pub/scm/utils/dash/dash.git', :using => :git def install @@ -13,8 +13,16 @@ class Dash < Formula end system "./configure", "--prefix=#{prefix}", - "--with-libedit" + "--with-libedit", + "--disable-dependency-tracking", + "--enable-fnmatch", + "--enable-glob" system "make" system "make install" end + + def test + system "#{HOMEBREW_PREFIX}/bin/dash -c \"echo Hello!\"" + puts " ^--- That works." + end end |
