homebrew-core/Formula/boxes.rb

18 lines
484 B
Ruby
Raw Normal View History

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