blob: cc517e1dcdf5e7a11e2d8a9fe07b8a3e5bc8e20b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class Pktanon < Formula
homepage 'http://www.tm.uka.de/software/pktanon/index.html'
url 'http://www.tm.uka.de/software/pktanon/download/pktanon-1.4.0-dev.tar.gz'
sha1 '458530c2b167694ee7a29653033e86f0b23e54bd'
depends_on 'xerces-c'
depends_on 'boost'
def install
# include the boost system library to resolve compilation errors
ENV["LIBS"] = "-lboost_system-mt"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end
|