Last active
August 29, 2015 14:21
-
-
Save naterh/ce8d35def08670e74528 to your computer and use it in GitHub Desktop.
libusb-devel brew formula sha256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class LibusbDevel < Formula | |
url 'https://github.com/OpenNI/OpenNI/blob/4dbf64bc45b880bfda6aa6bb2a30d1ddd03a8c65/Platform/Linux/Build/Prerequisites/libusb-1.0.8-osx.tar.bz2?raw=true' | |
homepage 'http://www.libusb.org/' | |
sha256 'e9c39943bedba9aca0c776673040602596b1a7ae880d359e25c07f48971372e9' | |
depends_on "automake" => :build | |
depends_on "libtool" => :build | |
def install | |
system "./autogen.sh" | |
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "LDFLAGS=-framework IOKit -framework CoreFoundation -arch x86_64", "CFLAGS=-arch x86_64" | |
system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment