d812bb2755
clens is a convenience library to aid in porting code from OpenBSD to different operating systems. The patch that's refenced in this formula has already been applied upstream, but no new release has been made yet. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
16 lines
429 B
Ruby
16 lines
429 B
Ruby
require 'formula'
|
|
|
|
class Clens < Formula
|
|
homepage 'https://opensource.conformal.com/wiki/clens'
|
|
url 'https://github.com/conformal/clens/archive/CLENS_0_7_0.tar.gz'
|
|
sha1 '565ca40e4389c835c12f4898ea6b355425e62e27'
|
|
|
|
def patches
|
|
'https://github.com/conformal/clens/commit/83648cc9027d9f76a1bc79ddddcbed1349b9d5cd.patch'
|
|
end
|
|
|
|
def install
|
|
ENV.j1
|
|
system "make", "all", "install", "LOCALBASE=#{prefix}"
|
|
end
|
|
end
|