Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added libusbx 1.0.14 #18452

Closed
wants to merge 1 commit into from

1 participant

Benjamin Dobell
Benjamin Dobell

Added homebrew formula for the popular user-space USB library, libusbx 1.0.14

In accordance with the homebrew contribution guidelines; I have squashed my previous pull request (#18429), on a libusbx specific branch, so that it can easily be merged into mainline master.

Benjamin Dobell Benjamin-Dobell Added libusbx 1.0.14
Added homebrew formula for the popular user-space USB library, libusbx 1.0.14
e89dc95
Benjamin Dobell Benjamin-Dobell referenced this pull request
Closed

libusbx 1.0.14 #18429

Benjamin Dobell

I'd like to update the build instructions for my software (https://github.com/Benjamin-Dobell/Heimdall/) in the next couple of days. Ideally I'd just be able to tell Mac users to:

brew install libusbx

without having to tap my fork.

Is there something more I need to do in order to get this merged in?

Jack Nagel jacknagel closed this pull request from a commit
Benjamin Dobell Benjamin-Dobell New formula: libusbx 1.0.14
Added homebrew formula for the popular user-space USB library, libusbx 1.0.14

Closes #17186.
Closes #18452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
96e1cd4
Jack Nagel jacknagel closed this in 96e1cd4
Erik Karulf ekarulf referenced this pull request from a commit in ekarulf/homebrew
Benjamin Dobell Benjamin-Dobell New formula: libusbx 1.0.14
Added homebrew formula for the popular user-space USB library, libusbx 1.0.14

Closes #17186.
Closes #18452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
8930e0a
Rajeev Jain rajeeja referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
J. Brandt Buckley brandt referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
David Shean dshean referenced this pull request from a commit in dshean/homebrew
Benjamin Dobell Benjamin-Dobell New formula: libusbx 1.0.14
Added homebrew formula for the popular user-space USB library, libusbx 1.0.14

Closes #17186.
Closes #18452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
7600429
draftycode draftycode referenced this pull request from a commit in draftycode/homebrew
Benjamin Dobell Benjamin-Dobell New formula: libusbx 1.0.14
Added homebrew formula for the popular user-space USB library, libusbx 1.0.14

Closes #17186.
Closes #18452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
f606f9e
Evan Shelhamer shelhamer referenced this pull request from a commit
Benjamin Dobell Benjamin-Dobell New formula: libusbx 1.0.14
Added homebrew formula for the popular user-space USB library, libusbx 1.0.14

Closes #17186.
Closes #18452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ce9cce9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 12, 2013
  1. Benjamin Dobell

    Added libusbx 1.0.14

    Benjamin-Dobell authored
    Added homebrew formula for the popular user-space USB library, libusbx 1.0.14
This page is out of date. Refresh to see the latest.
Showing with 30 additions and 0 deletions.
  1. +30 −0 Library/Formula/libusbx.rb
30 Library/Formula/libusbx.rb
View
@@ -0,0 +1,30 @@
+require 'formula'
+
+class Libusbx < Formula
+ homepage 'http://libusbx.org'
+ url 'http://downloads.sourceforge.net/project/libusbx/releases/1.0.14/source/libusbx-1.0.14.tar.bz2'
+ sha1 '2896201c54a0a9d0aee724925ab58c96956d5251'
+
+ conflicts_with 'libusb',
+ :because => 'libusb and libusbx both install libusb-1.0.so'
+
+ if build.head?
+ depends_on :automake
+ depends_on :libtool
+ end
+
+ option :universal
+ option 'no-runtime-logging', 'Build without runtime logging functionality'
+ option 'with-default-log-level-debug' 'Build with default runtime log level of debug (instead of none)'
+
+ def install
+ ENV.universal_binary if build.universal?
+ system "./autogen.sh" if build.head?
+ args = ["--disable-dependency-tracking",
+ "--prefix=#{prefix}"]
+ args << "--disable-log" if build.include?('no-runtime-logging')
+ args << "--enable-debug-log" if build.include?('with-default-log-level-debug')
+ system "./configure", *args
+ system "make install"
+ end
+end
Something went wrong with that request. Please try again.