blob: e8566c8e3a669b3243e5f3215559ae0713394206 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|