osh 20160108

Closes Homebrew/homebrew#48031.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Tomasz Pajor 2016-01-13 15:23:33 +01:00 committed by Baptiste Fontaine
parent 96dcd7a543
commit 08e4551adc

View file

@ -1,10 +1,16 @@
class Osh < Formula
desc "Two ports of /bin/sh from V6 UNIX (circa 1975)"
homepage "http://v6shell.org"
url "http://v6shell.org/src/osh-20150115.tar.gz"
sha256 "711151f222a7f3e7cb9500d11ded7bb19a66f94641f352e0ccb316dd9665aa1d"
url "http://v6shell.org/src/osh-20160108.tar.gz"
sha256 "51980473429cd1f8dad255c30749b8588278caf42b28185e22b9455e8f381bf7"
head "https://github.com/JNeitzel/v6shell.git"
bottle do
sha256 "554a72a3c717bf1f29df8d7d15be31aed86d9538b4924bb242545b5c0891739b" => :yosemite
sha256 "6f70c00a27888c8c9b12ba28d872942a062aefd85180253d928afb50fa06a506" => :mavericks
sha256 "5a7d41cd9a354d647faff4021a7601b756af0255f906354bb3f79a33639e3ffc" => :mountain_lion
end
option "with-examples", "Build with shell examples"
resource "examples" do
@ -12,12 +18,6 @@ class Osh < Formula
sha256 "411184449da48c59c9f341de748b1b6ea2a1c898848bf3bbf2b523e33ef62518"
end
bottle do
sha256 "554a72a3c717bf1f29df8d7d15be31aed86d9538b4924bb242545b5c0891739b" => :yosemite
sha256 "6f70c00a27888c8c9b12ba28d872942a062aefd85180253d928afb50fa06a506" => :mavericks
sha256 "5a7d41cd9a354d647faff4021a7601b756af0255f906354bb3f79a33639e3ffc" => :mountain_lion
end
def install
system "make", "install", "PREFIX=#{prefix}", "SYSCONFDIR=#{etc}"