mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Update gtk4, test buildsystems changes, test unit test changes Signed-off-by: Satadru Pramanik <satadru@gmail.com> * continue testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * continue testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * try to fix unit-test Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more testing Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Move container unit tests to a script for easier debugging. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix paths Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Use simpler unit test script for arm too. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix unit test yaml Signed-off-by: Satadru Pramanik <satadru@gmail.com> * debugging... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * debugging... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add git settings for when GitHub is down. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix Unit-Test.yml Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust Unit-Test. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more unit test adjustments Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add missing && Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust unit tests further... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix armv7l unit test, update libdrm. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add mesa builds Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update mesa package Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * debugging Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add early exit from arm unit test if no arm packages have changed. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix path and suffix removal. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more reporting. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust escaping in grep... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust git configs for network connectivity locally only. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Make git changes local not global. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * make git changes local Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update changed-files actions Signed-off-by: Satadru Pramanik <satadru@gmail.com> * suggested changes Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
23 lines
688 B
Ruby
23 lines
688 B
Ruby
require 'package'
|
|
|
|
class PERL < Package
|
|
property :pre_perl_options, :perl_build_extras, :perl_install_extras
|
|
|
|
def self.prebuild
|
|
puts "Additional pre_perl_options being used: #{@pre_perl_options.nil? ? '<no pre_perl_options>' : @pre_perl_options}".orange
|
|
system "#{@pre_perl_options} perl Makefile.PL"
|
|
system "sed -i 's,/usr/local,#{CREW_PREFIX},g' Makefile"
|
|
end
|
|
|
|
def self.build
|
|
@mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run' : ''
|
|
system "#{@pre_perl_options} #{@mold_linker_prefix_cmd} make"
|
|
@perl_build_extras&.call
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
@perl_install_extras&.call
|
|
end
|
|
end
|