diff options
| author | Eugene San (eugenesan) | 2014-01-25 09:47:45 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-09 14:20:56 -0700 |
| commit | a44b0e79056d86b0a3aaa62d3f1b51429828e57a (patch) | |
| tree | da30d6442b84b964004647f49ef97f0f93349b62 /Library/Formula | |
| parent | 563bd71dbdfcbdf923fb7fa92feac7cb1deddd2b (diff) | |
| download | homebrew-a44b0e79056d86b0a3aaa62d3f1b51429828e57a.tar.bz2 | |
HoRNDIS rel5
HoRNDIS (pronounce: "horrendous") is a driver for Mac OS X, that allows you
to use your Android phone's native USB tethering mode to get Internet access.
Closes #26159.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/horndis.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/horndis.rb b/Library/Formula/horndis.rb new file mode 100644 index 000000000..3a0753836 --- /dev/null +++ b/Library/Formula/horndis.rb @@ -0,0 +1,20 @@ +require "formula" + +class Horndis < Formula + homepage "http://joshuawise.com/horndis" + url "https://github.com/jwise/HoRNDIS/archive/rel5.tar.gz" + sha1 "5f01c62ae61554252c0fe727e414edcb8e060106" + + depends_on :xcode + + def install + xcodebuild "-configuration", "Release", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET=", "GCC_VERSION=", "ONLY_ACTIVE_ARCH=YES", "SYMROOT=build" + kext_prefix.install "build/Release/HoRNDIS.kext" + end + + def caveats; <<-EOS.undent + In order for HoRNDIS to work, kernel extension must be installed by the root user: + $ sudo /bin/cp -rfX #{kext_prefix}/HoRNDIS.kext /Library/Extensions + EOS + end +end |
