mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
21 lines
409 B
Ruby
21 lines
409 B
Ruby
require 'package'
|
|
|
|
class Bc < Package
|
|
version '1.07.1'
|
|
source_url 'https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz'
|
|
source_sha1 'b4475c6d66590a5911d30f9747361db47231640a'
|
|
|
|
depends_on 'readline'
|
|
depends_on 'flex'
|
|
depends_on 'ed'
|
|
|
|
def self.build
|
|
system "./configure", "--with-readline"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|