aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse2013-11-01 16:32:54 +0100
committerJack Nagel2013-11-18 10:21:14 -0600
commit898f6f087f4b89e0aed16ef12fd564a8de186773 (patch)
tree50f04f4f76df70539ea98925f751037977e7f3c8 /Library
parent8083ad95e75bdb8fa861c4ca0fb2185f28e8d31a (diff)
downloadhomebrew-898f6f087f4b89e0aed16ef12fd564a8de186773.tar.bz2
Add formula for clens 0.7.0
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/clens.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/clens.rb b/Library/Formula/clens.rb
new file mode 100644
index 000000000..f485b41a2
--- /dev/null
+++ b/Library/Formula/clens.rb
@@ -0,0 +1,16 @@
+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