homebrew-core/Formula/clens.rb

24 lines
916 B
Ruby

class Clens < Formula
desc "Library to help port code from OpenBSD to other operating systems"
homepage "https://opensource.conformal.com/wiki/clens"
url "https://github.com/conformal/clens/archive/CLENS_0_7_0.tar.gz"
sha256 "0cc18155c2c98077cb90f07f6ad8334314606c4be0b6ffc13d6996171c7dc09d"
bottle do
cellar :any_skip_relocation
sha256 "f6c68d7dce9d824274e16e3867926528cc79d161418fac0a0052e37dc6604668" => :el_capitan
sha256 "b08580c90a8ed647005c437158972a1dbd770792c2db74391eec8ed5f4ec1b6e" => :yosemite
sha256 "e3642b0982f846103eace85598f242e982ead98bbc8963b58e4192b2d1b1ae84" => :mavericks
end
patch do
url "https://github.com/conformal/clens/commit/83648cc9027d9f76a1bc79ddddcbed1349b9d5cd.diff"
sha256 "a685d970c9bc785dcc892f39803dad2610ce979eb58738da5d45365fd81a14be"
end
def install
ENV.j1
system "make", "all", "install", "LOCALBASE=#{prefix}"
end
end