mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* perl => 5.34.1
* fix perl library versioning
* update YAML::Tiny
* update XML::Simple
* update XML::SAX::Parserfactory
* update XML::Parser
* update Unicode::Linebreak
* update Unicode::Eastasianwidth
* update Time::Hires
* update Text::Wrapi18n
* update Text::Unidecode
* update Text:Charwidth
* add Test::Output
* update Term::Readkey
* update Term::ANSIColor
* update GNU stow
* update SGLMS
* remove duplicate Term::Readkey
* update Pod::Parser
* update Parse::YAPP
* update Net::SSLeay
* update Mozilla::CA
* update Module::Build
* update Locale::Messages
* update Locale::Messages
* remove duplicate Unicode::LineBreak
* update IO::Socket::SSL
* update File::Tail
* update Date::Manip
* update Date::Format
* update Date::Calc
* update Carp::Clan
* add App::Cpanminus
* perl: Download Cpan Minus in prebuild phase
* App::Cpanminus conflicts with #{CREW_PREFIX}/bin/cpanm from perl.rb
* fix Mozilla::CA checksum
* add x86_64 and i686 binaries
* recompile perl binaries #1 >:(
* recompile perl binaries #2 >:(
* File::Tail correct spelling
* add dep to XML::SAX::ParserFactory
* add more binaries
* xml source stuff
* perl xml binaries
* misc fixes
* rest of binaries (x86_64 and i686)
* quote ldflags
* Add perl binaries
* add conflicts_ok to allow builds
* Add binaries for all successful armv7l builds
* rubocop perl
* add more armv7l binaries
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
38 lines
1.7 KiB
Ruby
38 lines
1.7 KiB
Ruby
require 'package'
|
|
|
|
class Perl_unicode_linebreak < Package
|
|
description 'Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm'
|
|
homepage 'http://search.cpan.org/~nezumi/Unicode-LineBreak-2018.003/lib/Unicode/LineBreak.pod'
|
|
version '2019.001-2'
|
|
license 'GPL-1+ or Artistic'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/hatukanezumi/Unicode-LineBreak.git'
|
|
git_hashtag 'Unicode-LineBreak-2019.001'
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_unicode_linebreak/2019.001-2_armv7l/perl_unicode_linebreak-2019.001-2-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_unicode_linebreak/2019.001-2_armv7l/perl_unicode_linebreak-2019.001-2-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_unicode_linebreak/2019.001-2_i686/perl_unicode_linebreak-2019.001-2-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_unicode_linebreak/2019.001-2_x86_64/perl_unicode_linebreak-2019.001-2-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: '1f71d4967b901d3963686dc939a741fdb400097c09df8dc549a6cd41b6517843',
|
|
armv7l: '1f71d4967b901d3963686dc939a741fdb400097c09df8dc549a6cd41b6517843',
|
|
i686: '88fd6c7ba13998040d725c83befef32e63e6047c22a93dba099fdaaa2864e463',
|
|
x86_64: '7cee8353db2d0da6fc91915f6be07e77fe4746f3ab60e0e145c46cdf52150b75'
|
|
})
|
|
|
|
def self.prebuild
|
|
system 'perl', 'Makefile.PL'
|
|
system "sed -i 's,/usr/local,#{CREW_PREFIX},g' Makefile"
|
|
end
|
|
|
|
def self.build
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|