homebrew-core/Formula/apparix.rb

29 lines
1 KiB
Ruby
Raw Normal View History

class Apparix < Formula
desc "File system navigation via bookmarking directories"
homepage "http://micans.org/apparix/"
url "http://micans.org/apparix/src/apparix-11-062.tar.gz"
sha256 "211bb5f67b32ba7c3e044a13e4e79eb998ca017538e9f4b06bc92d5953615235"
2015-03-28 23:33:40 +00:00
bottle do
2016-01-19 11:55:29 +00:00
cellar :any_skip_relocation
2016-09-26 22:20:43 +00:00
rebuild 1
sha256 "889da718a73f128fa8baaca4a66ae80316ef6cb00ccc03937ea191c8eb781930" => :sierra
2016-01-19 11:55:29 +00:00
sha256 "89d7d52f9f2e76f1dd6b91075f407fa71000be0b09bd4548c11a6fd820b87ab3" => :el_capitan
sha256 "9ff5a4568499ba2ca67b7c1bae689ab25576409da76798642b3c4caee489c878" => :yosemite
sha256 "537fac6c0755ea6ef4ac4a6da2840de49c2c125015afaee6cf691ac33937c380" => :mavericks
2015-03-28 23:33:40 +00:00
end
def install
2013-01-27 01:26:00 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
mkdir "test"
system "#{bin}/apparix", "--add-mark", "homebrew", "test"
assert_equal "j,homebrew,test",
shell_output("#{bin}/apparix -lm homebrew").chomp
end
end