7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
21 lines
535 B
Ruby
21 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
|