valgrind.rb 475 Bytes
Newer Older
Ed Reel's avatar
Ed Reel committed
1 2 3 4 5
require 'package'

class Valgrind < Package
  description 'Valgrind is an instrumentation framework for building dynamic analysis tools.'
  homepage 'http://valgrind.org/'
6 7 8
  version '3.13.0'
  source_url 'ftp://sourceware.org/pub/valgrind/valgrind-3.13.0.tar.bz2'
  source_sha1 'ddf13e22dd0ee688bd533fc66b94cf88f75fad86'
Ed Reel's avatar
Ed Reel committed
9 10 11 12 13 14 15 16 17 18

  def self.build
    system './configure'
    system 'make'
  end

  def self.install
    system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
  end
end