2009-12-27 11:34:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Dmenu < Formula
|
2009-12-27 11:34:45 +00:00
|
|
|
homepage 'http://tools.suckless.org/dmenu/'
|
2012-03-06 06:49:42 +00:00
|
|
|
url 'http://dl.suckless.org/tools/dmenu-4.5.tar.gz'
|
|
|
|
md5 '9c46169ed703732ec52ed946c27d84b4'
|
2009-12-27 11:34:45 +00:00
|
|
|
head 'http://hg.suckless.org/dmenu/'
|
|
|
|
|
|
|
|
def install
|
2012-03-06 06:49:42 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/dmenu -v"
|
2009-12-27 11:34:45 +00:00
|
|
|
end
|
|
|
|
end
|