2010-01-07 14:27:15 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ppl <Formula
|
|
|
|
url 'http://www.cs.unipr.it/ppl/Download/ftp/releases/0.10.2/ppl-0.10.2.tar.bz2'
|
2010-06-05 01:59:54 +00:00
|
|
|
head 'http://www.cs.unipr.it/ppl/Download/ftp/snapshots/ppl-0.11pre24.tar.bz2'
|
2010-01-07 14:27:15 +00:00
|
|
|
homepage 'http://www.cs.unipr.it/ppl/'
|
2010-06-05 01:59:54 +00:00
|
|
|
|
|
|
|
if ARGV.include? "--HEAD"
|
|
|
|
md5 '14f4d5297a161f9ba22c33945fc61a27'
|
|
|
|
else
|
|
|
|
md5 '5667111f53150618b0fa522ffc53fc3e'
|
|
|
|
end
|
2010-01-07 14:27:15 +00:00
|
|
|
|
|
|
|
depends_on 'gmp'
|
|
|
|
|
|
|
|
def install
|
2010-06-05 01:57:28 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-optimization=sspeed"
|
2010-01-07 14:27:15 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|