homebrew-core/Formula/sdhash.rb
nibbles 2bits ec6ce32425 sdhash 2.3
- Upgrade sdhash to version 2.3.
- Remove the inreplace that tries to use our boost-1.51.
- Instead use their included internal boost-1.49.
- Add a `system 'make', 'boost'` to do so.
- Remove the dep on boost.
- Works well with superenv.  Passes `brew test -v sdhash`

Fixes Homebrew/homebrew#14396

Closes Homebrew/homebrew#15541.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-19 08:07:38 -07:00

18 lines
395 B
Ruby

require 'formula'
class Sdhash < Formula
homepage 'http://roussev.net/sdhash/sdhash.html'
url 'http://roussev.net/sdhash/releases/packages/sdhash-2.3.tar.gz'
sha1 '711a7d3fdc2bf0d27e034078a4369b8489215654'
def install
system 'make', 'boost'
system 'make', 'stream'
bin.install 'sdhash'
man1.install Dir['man/*.1']
end
def test
system "#{bin}/sdhash"
end
end