aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libfreenect.rb
blob: bb2b8e414c9e89b4c99ced8fc399b8ef6ee5fe61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Libfreenect < Formula
  homepage 'http://openkinect.org'
  url 'https://github.com/OpenKinect/libfreenect/archive/v0.1.2.tar.gz'
  sha1 'a20aada4c84a29f10ef1953c81404d2f256b21e6'

  head 'https://github.com/OpenKinect/libfreenect.git'

  depends_on 'cmake' => :build
  depends_on 'libusb'

  def install
    mkdir "build" do
      system "cmake", "..", *std_cmake_args
      system "make install"
    end
  end
end