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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '70c1a13b950b7b0cb1bc35e30c6e861a78359953'
|
2014-06-22 08:45:51 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "54caf91cc564300d67e0ced4dc8ae65584b1276a" => :mavericks
|
|
|
|
sha1 "2630df757da0902c41254ecf4eedaa14fb5138ba" => :mountain_lion
|
|
|
|
sha1 "364bca930070125a3cfcbf8769ef53bb20d84a92" => :lion
|
|
|
|
end
|
|
|
|
|
2014-06-22 07:13:47 +00:00
|
|
|
head 'http://git.suckless.org/dmenu/', :using => :git
|
2009-12-27 11:34:45 +00:00
|
|
|
|
2012-09-18 17:26:32 +00:00
|
|
|
depends_on :x11
|
|
|
|
|
2009-12-27 11:34:45 +00:00
|
|
|
def install
|
2012-03-06 06:49:42 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/dmenu", "-v"
|
2009-12-27 11:34:45 +00:00
|
|
|
end
|
|
|
|
end
|