Commit c2939448 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Added perl_gcstring_linebreak two-in-one package (#2378)

* Added perl_gcstring_linebreak two-in-one package

* Added DESTDIR to make install so files can be tracked

* added Dir.chdir to self.install
parent c484149d
require 'package'
class Perl_gcstring_linebreak < Package
description 'UAX 14 Unicode Line Breaking Algorithm - Perl binding Unicode::LineBreak Unicode::GCString'
homepage 'http://search.cpan.org/~nezumi/Unicode-LineBreak-2018.003/lib/Unicode/LineBreak.pod'
version '2018.003'
source_url 'https://github.com/hatukanezumi/Unicode-LineBreak/archive/Unicode-LineBreak-2018.003.tar.gz'
source_sha256 '6f8cb4de140f8b63924786df8b0c2389c342bccdee05fbb1b9af8d8b6a8a3fad'
def self.build
system "git", "clone", "--recurse-submodules", "https://github.com/hatukanezumi/Unicode-LineBreak", "-b", "Unicode-LineBreak-2018.003"
Dir.chdir ("Unicode-LineBreak") do
system "perl", "Makefile.PL"
system "make"
end
end
def self.install
Dir.chdir ("Unicode-LineBreak") do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
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