libfreenect 0.1.2

Closes Homebrew/homebrew#17460.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Christian Rishøj 2013-01-31 18:55:59 +08:00 committed by Adam Vandenberg
parent 82745b5b41
commit 3fee50f1a9

19
Formula/libfreenect.rb Normal file
View file

@ -0,0 +1,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