mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* 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>
40 lines
1.2 KiB
Ruby
40 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Perl_sgmls < Package
|
|
description 'SGMLS - class for postprocessing the output from the sgmls and nsgmls parsers.'
|
|
homepage 'https://search.cpan.org/dist/SGMLSpm/'
|
|
version '1.1-perl-5.36'
|
|
license 'GPL-1+ or Artistic'
|
|
compatibility 'all'
|
|
source_url 'https://cpan.metacpan.org/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz'
|
|
source_sha256 '550c9245291c8df2242f7e88f7921a0f636c7eec92c644418e7d89cfea70b2bd'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '59f819d4146063577a31cba64ce9f7586664e9eeb1ea2ff3d952b87a89f7f598',
|
|
armv7l: '59f819d4146063577a31cba64ce9f7586664e9eeb1ea2ff3d952b87a89f7f598',
|
|
i686: '62a69aeeffaafefcfbbbebe3ec65d6c64f5480cf1a4113eae31e2e3d2270acbb',
|
|
x86_64: '6fff085bedfd64a418e582b6de1fdea3b78eb035ca55277f6f0a67096f9bcc2c'
|
|
})
|
|
|
|
depends_on 'perl_module_build' => :build
|
|
|
|
def self.patch
|
|
# For some reason this file doesn't have the proper permissions in the tarball
|
|
FileUtils.chmod 0o644, 'MYMETA.yml'
|
|
end
|
|
|
|
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
|