2010-07-01 18:59:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Boxes < Formula
|
2010-07-01 18:59:12 +00:00
|
|
|
homepage 'http://boxes.thomasjensen.com/'
|
2012-02-10 04:41:33 +00:00
|
|
|
url 'http://boxes.thomasjensen.com/download/boxes-1.1.src.tar.gz'
|
2010-07-01 18:59:12 +00:00
|
|
|
md5 'd2ef9fa28a87bf32b3fe0c47ab82fa97'
|
|
|
|
|
|
|
|
def install
|
|
|
|
# distro uses /usr/share/boxes change to prefix
|
2012-02-10 04:41:33 +00:00
|
|
|
system "make", "GLOBALCONF=#{share}/boxes-config", "CC=#{ENV.cc}"
|
2010-07-01 18:59:12 +00:00
|
|
|
|
|
|
|
# No make install have to manually copy files
|
|
|
|
bin.install 'src/boxes'
|
|
|
|
man1.install 'doc/boxes.1'
|
|
|
|
share.install 'boxes-config'
|
|
|
|
end
|
|
|
|
end
|