Commit 8ed48d40 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Add perl readkey package (#2377)

* Added icu4c dependency to fix xgettext

* Removed dependency for icu4c of dpkg, should be in gettext.

* Added package perl_read_key

* changed DESTDIR to CREW_DEST_DIR

* Added another package, perl_read_key_pm, that incorporates PerlReadkey_pm.PL

* Added self.check section which includes make test

* Added | yes to crew install to make sure perl_read_key automatically installs.

* added end line

* Added end line to self.check

* added -k to crew install line so crew would not remove the current brew directory during build

* removed | yes, not needed, and removed unnecessary lines

* Made puts line for perl_read_key light blue

* Consolidated into one package

* Changed class

* removed line that broke the build script, remove make test.

* Removed perl_read_key_pm.rb

* Removed change of dpkg.rb

* Removed change of gettext in this PR
parent c2939448
require 'package'
class Perl_read_key < Package
description 'Character mode terminal access for Perl Term::ReadKey'
homepage 'https://metacpan.org/source/JSTOWE/TermReadKey-2.37/'
version '2.37'
source_url 'https://github.com/jonathanstowe/TermReadKey/archive/v2.37.tar.gz'
source_sha256 '0fa4fb2f8145e3fb2c2129ad28d55be175abcc258f239ba8ddc2cd83790aa8fb'
def self.build
system "perl", "Makefile.PL"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment