Files
chromebrew/packages/bashdb.rb
2017-06-28 23:08:34 -05:00

23 lines
718 B
Ruby

require 'package'
class Bashdb < Package
description 'The Bash Debugger Project is a source-code debugger for bash that follows the gdb command syntax.'
homepage 'http://bashdb.sourceforge.net/'
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'
source_sha256 'fb3d48a22b05d4e3c7a9b8205916d50fa33aac5908f0c9bcd15ff9d4dfa59c86'
def self.build
system "./configure \
--bindir=/usr/local/bin \
--datadir=/usr/local/share \
--infodir=/usr/local/info \
--mandir=/usr/local/man"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end