diff options
| author | David Holm | 2013-06-22 14:33:49 +0200 |
|---|---|---|
| committer | Jack Nagel | 2013-06-22 10:17:56 -0500 |
| commit | bcc9e794e4b87ac40537aaf78e763d26ffb99bf9 (patch) | |
| tree | b57e307069149a19ec0ee09a3ad58ac2337cd71c /Library | |
| parent | 1f2df6b8a0af6b70d0ef464a6044d3e7c6d1f2a5 (diff) | |
| download | homebrew-bcc9e794e4b87ac40537aaf78e763d26ffb99bf9.tar.bz2 | |
libgphoto2: add universal option
Required by Wine for Camera support.
Closes #20686.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libgphoto2.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/libgphoto2.rb b/Library/Formula/libgphoto2.rb index c10976f26..5356af4b8 100644 --- a/Library/Formula/libgphoto2.rb +++ b/Library/Formula/libgphoto2.rb @@ -5,12 +5,15 @@ class Libgphoto2 < Formula url 'http://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.2/libgphoto2-2.5.2.tar.bz2' sha1 '6b70ff6feec62a955bef1fc9a2b16dd07f0e277a' + option :universal + depends_on 'pkg-config' => :build depends_on :libtool # Configure script uses this depends_on 'libusb-compat' depends_on 'libexif' => :optional def install + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "CFLAGS=-D_DARWIN_C_SOURCE" system "make install" |
