2012-10-24 09:09:23 +00:00
|
|
|
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'
|
|
|
|
|
2013-09-22 02:06:10 +00:00
|
|
|
head do
|
2013-09-22 01:47:13 +00:00
|
|
|
url 'https://github.com/hacker/libopkele.git'
|
|
|
|
|
2013-11-13 17:01:29 +00:00
|
|
|
depends_on :autoconf
|
2013-09-22 01:47:13 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
|
|
|
end
|
2012-10-24 09:09:23 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2013-11-10 02:03:05 +00:00
|
|
|
def patches
|
|
|
|
"https://github.com/hacker/libopkele/commit/9ff6244998b0d41e71f7cc7351403ad590e990e4.patch"
|
2013-09-22 01:47:13 +00:00
|
|
|
end unless build.head?
|
2012-10-24 09:09:23 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./autogen.bash" if build.head?
|
|
|
|
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|