Files
chromebrew/packages/perl_extutils_depends.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

38 lines
1.4 KiB
Ruby

require 'buildsystems/perl'
class Perl_extutils_depends < PERL
description 'Easily build XS extensions that depend on XS extensions'
homepage 'https://metacpan.org/pod/ExtUtils::Depends'
version '0.8001-perl5.40'
license 'GPL-1+ or Artistic'
compatibility 'all'
source_url 'https://cpan.metacpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-0.8001.tar.gz'
source_sha256 '673c4387e7896c1a216099c1fbb3faaa7763d7f5f95a1a56a60a2a2906c131c5'
binary_compression 'tar.zst'
binary_sha256({
i686: '106fc60092e10c02a14a6b6dddbcd6062f9dbf9bb0023589aba1079fb57aa2c0',
aarch64: '6baa0e2745a9a7db5c5d1df7d3e337b952f86caa2f59bfd64d2715484f3d7301',
armv7l: '6baa0e2745a9a7db5c5d1df7d3e337b952f86caa2f59bfd64d2715484f3d7301',
x86_64: '7392bfba3d04eb816e474eecc2e5a7ea050a4efb4a69cd8444476bd41ecc5d69'
})
depends_on 'perl_data_dumper' => :build
depends_on 'perl_extutils_makemaker' => :build
depends_on 'perl_file_spec' => :build
depends_on 'perl_io_file' => :build
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
@perl_conflicts = %w[
Data::Dumper
]
@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