homebrew-core/Formula/narwhal.rb
Rufo Sanchez c8c7354770 added narwhal formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Install everything to libexec and link in the binaries
2010-05-04 21:16:24 -07:00

13 lines
276 B
Ruby

require 'formula'
class Narwhal <Formula
head 'git://github.com/tlrobinson/narwhal.git'
homepage 'http://www.narwhaljs.org/'
def install
rm Dir['bin/*.cmd']
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each { |d| ln_s d, bin }
end
end