Open
Description
You could easily make Slash installable via Homebrew using a script like this:
require 'formula'
class Slash < Formula
homepage 'http://slash-lang.org'
url 'DOWNLOAD_LINK'
mirror 'DOWNLOAD MIRROR'
sha1 'SHA1 HASH' # or md5
DEPS = ['gmp', 'pcre', 'libgcrypt', 'yajl', 'discount']
DEPS.each do |dep|
depend_on dep
end
def install
system "./configure --prefix=#{prefix}"
system 'make && make install'
end
end
Metadata
Metadata
Assignees
Labels
No labels