Permalink
Browse files

libopkele 2.0.4

Closes #15978.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent fa931cf commit eef83e7164a896721048f16bfaa225ef5269f59a @neglectedvalue neglectedvalue committed with klausmeyer Oct 24, 2012
Showing with 33 additions and 0 deletions.
  1. +33 −0 Library/Formula/libopkele.rb
View
33 Library/Formula/libopkele.rb
@@ -0,0 +1,33 @@
+require 'formula'
+
+class Libopkele < Formula
+ homepage 'http://kin.klever.net/libopkele/'
+ url 'http://kin.klever.net/dist/libopkele-2.0.4.tar.bz2'
+ sha1 '0c403d118efe6b4ee4830914448078c0ee967757'
+
+ head 'https://github.com/hacker/libopkele.git'
+
+ depends_on 'pkg-config' => :build
+
+ fails_with :clang do
+ build 421
+ cause <<-EOS.undent
+ In file included from discovery.cc:5:
+ ../include/opkele/discovery.h:24:11: error: use of undeclared identifier 'insert'
+ EOS
+ end if !build.head?
+
+ if build.head?
+ depends_on :automake
+ depends_on :libtool
+ end
+
+ def install
+ system "./autogen.bash" if build.head?
+
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end

0 comments on commit eef83e7

Please sign in to comment.