diff options
| author | Mike Meyer | 2014-11-18 15:10:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-06 23:03:30 -0500 |
| commit | 8fe47ccc06dbfca26d81bf0744169f354b1e0da8 (patch) | |
| tree | 54b410a344a043e122f73c3866aeafba2f6c863d /Library/Formula/boxes.rb | |
| parent | 931f3feceeffb74fe3fa8f72fe8e3c6b42ce18da (diff) | |
| download | homebrew-8fe47ccc06dbfca26d81bf0744169f354b1e0da8.tar.bz2 | |
boxes: add HEAD
Closes #34292.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/boxes.rb')
| -rw-r--r-- | Library/Formula/boxes.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/boxes.rb b/Library/Formula/boxes.rb index 7f8c10ed4..f227f17ed 100644 --- a/Library/Formula/boxes.rb +++ b/Library/Formula/boxes.rb @@ -3,11 +3,20 @@ require 'formula' class Boxes < Formula homepage 'http://boxes.thomasjensen.com/' url 'http://boxes.thomasjensen.com/download/boxes-1.1.1.src.tar.gz' + head 'https://github.com/ascii-boxes/boxes.git' sha1 '9b09f8c59276a3978ecaf985029b8459aa69e9c1' def install + ENV.m32 + # distro uses /usr/share/boxes change to prefix - system "make", "GLOBALCONF=#{share}/boxes-config", "CC=#{ENV.cc}" + system "make", + "GLOBALCONF=#{share}/boxes-config", + "CC=#{ENV.cc}", + # Force 32 bit compile + # These flags are only (as of 1.1.1) supported on HEAD + "CFLAGS_ADDTL=-m32", + "LDFLAGS_ADDTL=-m32" bin.install 'src/boxes' man1.install 'doc/boxes.1' |
