libopkele: use spec deps

master
Jack Nagel 2013-09-21 20:47:13 -05:00
parent 25b9667870
commit 6916bb8cfe
1 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,12 @@ class Libopkele < Formula
url 'http://kin.klever.net/dist/libopkele-2.0.4.tar.bz2' url 'http://kin.klever.net/dist/libopkele-2.0.4.tar.bz2'
sha1 '0c403d118efe6b4ee4830914448078c0ee967757' sha1 '0c403d118efe6b4ee4830914448078c0ee967757'
head 'https://github.com/hacker/libopkele.git' head do
url 'https://github.com/hacker/libopkele.git'
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build depends_on 'pkg-config' => :build
@ -15,12 +20,7 @@ class Libopkele < Formula
In file included from discovery.cc:5: In file included from discovery.cc:5:
../include/opkele/discovery.h:24:11: error: use of undeclared identifier 'insert' ../include/opkele/discovery.h:24:11: error: use of undeclared identifier 'insert'
EOS EOS
end if !build.head? end unless build.head?
if build.head?
depends_on :automake
depends_on :libtool
end
def install def install
system "./autogen.bash" if build.head? system "./autogen.bash" if build.head?