mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
add gawk
This commit is contained in:
16
packages/gawk.rb
Normal file
16
packages/gawk.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
require 'package'
|
||||
|
||||
class Gawk < Package
|
||||
version '4.1.1'
|
||||
source_url 'http://ftp.gnu.org/gnu/gawk/gawk-4.1.1.tar.gz'
|
||||
source_sha1 '0480d23fffbf04bfd0d4ede4c1c3d57eb81cc771'
|
||||
|
||||
def self.build
|
||||
system './configure --prefix=/usr/local'
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user