22 lines
535 B
Ruby
22 lines
535 B
Ruby
require 'formula'
|
|
|
|
class Boxes <Formula
|
|
url 'http://boxes.thomasjensen.com/download/boxes-1.1.src.tar.gz'
|
|
homepage 'http://boxes.thomasjensen.com/'
|
|
md5 'd2ef9fa28a87bf32b3fe0c47ab82fa97'
|
|
|
|
def install
|
|
# distro uses /usr/share/boxes change to prefix
|
|
inreplace 'Makefile' do |s|
|
|
s.change_make_var! "GLOBALCONF", "#{share}/boxes-config"
|
|
end
|
|
|
|
system "make"
|
|
|
|
# No make install have to manually copy files
|
|
bin.install 'src/boxes'
|
|
man1.install 'doc/boxes.1'
|
|
share.install 'boxes-config'
|
|
end
|
|
end
|