Skip to content

Instantly share code, notes, and snippets.

@activefx
Created November 18, 2013 02:20
Show Gist options
  • Save activefx/7521397 to your computer and use it in GitHub Desktop.
Save activefx/7521397 to your computer and use it in GitHub Desktop.
require 'formula'
class CloogPpl015 < Formula
homepage 'http://repo.or.cz/w/cloog-ppl.git'
url 'http://gcc.cybermirror.org/infrastructure/cloog-ppl-0.15.11.tar.gz'
sha1 '42fa476a79a1d52da41608a946dcb47c70f7e3b9'
keg_only 'Conflicts with cloog in main repository.'
depends_on 'gmp4'
depends_on 'ppl011'
def install
gmp4 = Formula.factory 'gmp4'
ppl011 = Formula.factory 'ppl011'
args = [
"--prefix=#{prefix}",
"--with-gmp=#{gmp4.opt_prefix}",
"--with-ppl=#{ppl011.opt_prefix}"
]
system "./configure", *args
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment