blob: 6c67b3c7ed947c0fd93ca01d0b7b1395fc027e89 (
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 'http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz'
  md5 '38b67c48af7a9204660a3e08f97ceba6'
  depends_on 'cmake' => :build
  def install
    mkdir 'build' do
      system "cmake", "..", *std_cmake_args
      system "make install"
    end
  end
end
 |