mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
23 lines
482 B
Ruby
23 lines
482 B
Ruby
require 'package'
|
|
|
|
class Filecmd < Package
|
|
description 'file command determines the file type.'
|
|
homepage 'ftp://ftp.astron.com/pub/file'
|
|
version '5.31'
|
|
source_url 'ftp://ftp.astron.com/pub/file/file-5.31.tar.gz'
|
|
source_sha1 'd66f71fb29ec0e9cecbefe9d7433d7a315f3302c'
|
|
|
|
def self.build
|
|
system "./configure"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
|
|
def self.check
|
|
system "make", "check"
|
|
end
|
|
end
|