Files
chromebrew/packages/perl_extutils_makemaker.rb
Ed Reel 117a95ad6d Perl 5.38.2 => 5.40.0 (#9964)
* Perl 5.38.2 => 5.40.0

Perl_app_cpanminus 1.7046 => 1.7047

Perl_date_manip 6.91 => 6.95

Perl_glib 1.3293 => 1.3294

Perl_glib_object_introspection 0.050 => 0.051

Perl_http_date 6.05 => 6.06

Perl_http_request 6.44 => 6.46

Perl_io_file 1.51 => 1.55_01

Perl_io_socket_ssl 2.083 => 2.085

Perl_lwp_protocol_https 6.10 => 6.14

Perl_net_http 6.22 => 6.23

Perl_net_ssleay 1.92 => 1.94

Perl_pod_parser 1.66 => 1.67

Perl_stow 2.3.1 => 2.4.0

Perl_test_output 1.033 => 1.034

Perl_text_csv 2.02 => 2.04

Perl_xml_namespacesuport 1.12 => 1.12_9

Perl_xml_parser 2.46 => 2.47

* add binaries for successful builds

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust more packages to use buildsystems, remove binaries for no_compile_needed packages

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2024-06-15 01:12:08 -05:00

64 lines
2.0 KiB
Ruby

require 'buildsystems/perl'
class Perl_extutils_makemaker < PERL
description 'Create a module Makefile'
homepage 'https://metacpan.org/pod/ExtUtils::MakeMaker'
version '7.70-perl5.40'
license 'GPL-1+ or Artistic'
compatibility 'all'
source_url 'https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.70.tar.gz'
source_sha256 'f108bd46420d2f00d242825f865b0f68851084924924f92261d684c49e3e7a74'
binary_compression 'tar.zst'
binary_sha256({
i686: '29fc9b1b462b80bd51924f3cebe60e023c73c2065c975fc64de185cd37eef438',
aarch64: '7b895fed43d1e20817dffbf5168be62b6ffdc95fbd449d709200c1aa918f82ba',
armv7l: '7b895fed43d1e20817dffbf5168be62b6ffdc95fbd449d709200c1aa918f82ba',
x86_64: 'ffd86ef556961042356bca8870e3c722f368271cb218a1a3a7a4bd2904a51603'
})
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
# Remove conflicts with perl package.
FileUtils.rm "#{CREW_DEST_PREFIX}/bin/instmodsh"
FileUtils.rm "#{CREW_DEST_MAN_PREFIX}/man1/instmodsh.1"
@perl_conflicts = %w[
ExtUtils::Command
ExtUtils::Command::MM
ExtUtils::Liblist
ExtUtils::MakeMaker ExtUtils::MakeMaker::Config
ExtUtils::MakeMaker::FAQ
ExtUtils::MakeMaker::Locale
ExtUtils::MakeMaker::Tutorial
ExtUtils::Mkbootstrap
ExtUtils::Mksymlists
ExtUtils::MM
ExtUtils::MM_AIX
ExtUtils::MM_Any
ExtUtils::MM_BeOS
ExtUtils::MM_Cygwin
ExtUtils::MM_Darwin
ExtUtils::MM_DOS
ExtUtils::MM_MacOS
ExtUtils::MM_NW5
ExtUtils::MM_OS2
ExtUtils::MM_OS390
ExtUtils::MM_QNX
ExtUtils::MM_Unix
ExtUtils::MM_UWIN
ExtUtils::MM_VMS
ExtUtils::MM_VOS
ExtUtils::MM_Win32
ExtUtils::MM_Win95
ExtUtils::MY
ExtUtils::testlib
]
@perl_conflicts.each do |conflict|
if File.exist?("#{CREW_DEST_MAN_PREFIX}/man3/#{conflict}.3")
FileUtils.mv "#{CREW_DEST_MAN_PREFIX}/man3/#{conflict}.3",
"#{CREW_DEST_MAN_PREFIX}/man3/#{conflict}-#{name}.3"
end
end
end
end