blob: ad6aca4e59b811bd8b897b16d1fdeea45ddf9500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | 
require 'formula'
class Libssh < Formula
  homepage 'http://www.libssh.org/'
  url 'https://red.libssh.org/attachments/download/51/libssh-0.5.5.tar.gz'
  sha1 'e701476ec43f85178bdb36fbb58aa45417a38f5e'
  depends_on 'cmake' => :build
  def install
    mkdir 'build' do
      system "cmake", "..", *std_cmake_args
      system "make install"
    end
  end
end
  |