From 1c237fbe83f0095113aba8113be892cc8b0c63ae Mon Sep 17 00:00:00 2001 From: D1plo1d Date: Sun, 7 Jul 2013 22:18:45 -0400 Subject: tegh 0.3.1 Closes #21068. Signed-off-by: Adam Vandenberg --- Library/Formula/tegh.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/tegh.rb (limited to 'Library') diff --git a/Library/Formula/tegh.rb b/Library/Formula/tegh.rb new file mode 100644 index 000000000..7baf482f5 --- /dev/null +++ b/Library/Formula/tegh.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Tegh < Formula + homepage 'https://github.com/D1plo1d/tegh' + head 'https://github.com/D1plo1d/tegh.git', :branch => 'develop' + url 'https://s3.amazonaws.com/tegh_binaries/0.3.1/tegh-0.3.1-brew.tar.gz' + sha1 '7061165db148a27d229563e340d6c691b4fd92a8' + + depends_on 'node' + + def install + rm "bin/tegh.bat" + system "npm", "install" if build.head? + libexec.install Dir['*'] + bin.install_symlink Dir["#{libexec}/bin/*"] + end +end -- cgit v1.2.3