mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
perl => 5.34.1 (#6860)
* 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>
This commit is contained in:
committed by
GitHub
parent
eb84e75ef3
commit
1d60778b1c
@@ -3,40 +3,35 @@ require 'package'
|
||||
class Perl_text_charwidth < Package
|
||||
description 'Text::CharWidth - Get number of occupied columns of a string on terminals'
|
||||
homepage 'https://metacpan.org/pod/Text::CharWidth'
|
||||
version '0.04-2'
|
||||
version '0.04-3'
|
||||
license 'GPL-1+ or Artistic'
|
||||
compatibility 'all'
|
||||
source_url 'https://cpan.metacpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-0.04.tar.gz'
|
||||
source_sha256 'abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-2_armv7l/perl_text_charwidth-0.04-2-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-2_armv7l/perl_text_charwidth-0.04-2-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-2_i686/perl_text_charwidth-0.04-2-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-2_x86_64/perl_text_charwidth-0.04-2-chromeos-x86_64.tar.xz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-3_armv7l/perl_text_charwidth-0.04-3-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-3_armv7l/perl_text_charwidth-0.04-3-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-3_i686/perl_text_charwidth-0.04-3-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_text_charwidth/0.04-3_x86_64/perl_text_charwidth-0.04-3-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '965175c70ca4cc515bdf139a4668434b6dd02ab565ae5b84705b508af005028e',
|
||||
armv7l: '965175c70ca4cc515bdf139a4668434b6dd02ab565ae5b84705b508af005028e',
|
||||
i686: 'ca46530e55475d03663fc0d821ee20e02eedafc4fa32ded01d622cd1af35d621',
|
||||
x86_64: '38a4a507e655a9bbd3b4aeae1a49f32e9ef27b1a5ef2c5e7e9efef760f3e98ed'
|
||||
aarch64: '5cdc12e2f3e5364befe19ed143aad3dae7f1f0402e0a5cd88e679b54dd586858',
|
||||
armv7l: '5cdc12e2f3e5364befe19ed143aad3dae7f1f0402e0a5cd88e679b54dd586858',
|
||||
i686: 'd1338224a059f68a880d875cf9bd3e4e0063ca387295bf64d610ca0297aa347d',
|
||||
x86_64: '835d7b09829d483ed99d39d56986363c43ee7cd2966b69eaa0819592d8f91785'
|
||||
})
|
||||
|
||||
def self.build; end
|
||||
|
||||
def self.install
|
||||
# install files to build directory
|
||||
system 'cpanm', '-l', 'build', '--self-contained', '.'
|
||||
|
||||
# install lib
|
||||
libdir = CREW_DEST_DIR + `perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'`
|
||||
FileUtils.mkdir_p libdir
|
||||
system "(cd build/lib/perl5; tar cf - .) | (cd #{libdir}; tar xfp -)"
|
||||
|
||||
# install man
|
||||
FileUtils.mkdir_p CREW_DEST_MAN_PREFIX
|
||||
system "(cd build/man; tar cf - .) | (cd #{CREW_DEST_MAN_PREFIX}; tar xfp -)"
|
||||
def self.prebuild
|
||||
system 'perl', 'Makefile.PL'
|
||||
system "sed -i 's,/usr/local,#{CREW_PREFIX},g' Makefile"
|
||||
end
|
||||
|
||||
def self.check; end
|
||||
def self.build
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user