boxes: add HEAD
Closes Homebrew/homebrew#34292. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
2e8cb6e782
commit
c3a52d849c
1 changed files with 10 additions and 1 deletions
|
@ -3,11 +3,20 @@ require 'formula'
|
||||||
class Boxes < Formula
|
class Boxes < Formula
|
||||||
homepage 'http://boxes.thomasjensen.com/'
|
homepage 'http://boxes.thomasjensen.com/'
|
||||||
url 'http://boxes.thomasjensen.com/download/boxes-1.1.1.src.tar.gz'
|
url 'http://boxes.thomasjensen.com/download/boxes-1.1.1.src.tar.gz'
|
||||||
|
head 'https://github.com/ascii-boxes/boxes.git'
|
||||||
sha1 '9b09f8c59276a3978ecaf985029b8459aa69e9c1'
|
sha1 '9b09f8c59276a3978ecaf985029b8459aa69e9c1'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
ENV.m32
|
||||||
|
|
||||||
# distro uses /usr/share/boxes change to prefix
|
# 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'
|
bin.install 'src/boxes'
|
||||||
man1.install 'doc/boxes.1'
|
man1.install 'doc/boxes.1'
|
||||||
|
|
Loading…
Reference in a new issue