Skip to content

Install Slash via Homebrew #28

Description

@beakr

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions