bashdb.rb 718 Bytes
Newer Older
Ed Reel's avatar
Ed Reel committed
1 2 3
require 'package'

class Bashdb < Package
4 5
  description 'The Bash Debugger Project is a source-code debugger for bash that follows the gdb command syntax.'
  homepage 'http://bashdb.sourceforge.net/'
Ed Reel's avatar
Ed Reel committed
6 7
  version '4.4-0.92'
  source_url 'https://downloads.sourceforge.net/project/bashdb/bashdb/4.2-0.92/bashdb-4.4-0.92.tar.gz'
8
  source_sha256 'fb3d48a22b05d4e3c7a9b8205916d50fa33aac5908f0c9bcd15ff9d4dfa59c86'
Ed Reel's avatar
Ed Reel committed
9 10 11 12

  def self.build
    system "./configure \
            --bindir=/usr/local/bin \
13 14 15
            --datadir=/usr/local/share \
            --infodir=/usr/local/info \
            --mandir=/usr/local/man"
Ed Reel's avatar
Ed Reel committed
16 17 18 19 20 21 22
    system "make"
  end

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