diff options
| author | David Holm | 2013-06-22 14:32:32 +0200 |
|---|---|---|
| committer | Jack Nagel | 2013-06-22 10:17:24 -0500 |
| commit | d57b38dc19e58cebb37d59c96a08d1e69187026d (patch) | |
| tree | ad2af301e3c7fbf01f31a822dedaf2023e2bfcc4 /Library | |
| parent | 607a7b85a7803efee54a64811ff4e88fb99e9d95 (diff) | |
| download | homebrew-d57b38dc19e58cebb37d59c96a08d1e69187026d.tar.bz2 | |
libusb-compat: add universal option
Required for libgphoto2 --universal.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libusb-compat.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/libusb-compat.rb b/Library/Formula/libusb-compat.rb index 52abd06fd..7467cb41e 100644 --- a/Library/Formula/libusb-compat.rb +++ b/Library/Formula/libusb-compat.rb @@ -5,10 +5,13 @@ class LibusbCompat < Formula url 'http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.4/libusb-compat-0.1.4.tar.bz2' sha256 'ed5bdd160c7b01ef767fb931a81b454f46226d1e2cf58502ced758d3e5a9fdc4' + option :universal + depends_on 'pkg-config' => :build depends_on 'libusb' def install + ENV.universal_binary if build.universal? system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make install" end |
