File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 33# load it with instance_eval. See ruby-x.y-augeas.rb configs.
44#
55
6- pkg . add_source ( "file://resources/patches/augeas/ruby-augeas-0.5.0-patch_c_extension.patch" )
7-
8- # We can remove the below patch after https://github.com/hercules-team/ruby-augeas/pull/17 is merged.
9- pkg . add_source ( "file://resources/patches/augeas/ruby-augeas-0.5.0-patch_remove_unused_parameter.patch" )
106
117# These can be overridden by the including component.
128ruby_version ||= settings [ :ruby_version ]
139host_ruby ||= settings [ :host_ruby ]
1410ruby_dir ||= settings [ :ruby_dir ]
1511ruby_bindir ||= settings [ :ruby_bindir ]
1612
17- pkg . version "0.5 .0"
18- pkg . md5sum "a132eace43ce13ccd059e22c0b1188ac "
19- pkg . url "http ://download.augeas.net/ ruby/ruby-augeas-#{ pkg . get_version } .tgz"
13+ pkg . version "0.6 .0"
14+ pkg . md5sum "3c2a13b748300b5a984bab9a30e74d0f "
15+ pkg . url "https ://github.com/hercules-team/ ruby-augeas/releases/download/release- #{ pkg . get_version } /ruby-augeas-#{ pkg . get_version } .tgz"
2016pkg . mirror "#{ settings [ :buildsources_url ] } /ruby-augeas-#{ pkg . get_version } .tgz"
2117
2218pkg . build_requires "ruby-#{ ruby_version } "
7571
7672pkg . build do
7773 build_commands = [ ]
78- if ruby_version =~ /^3/
79- build_commands << "#{ platform . patch } --strip=2 --fuzz=0 --ignore-whitespace --no-backup-if-mismatch < ../ruby-augeas-0.5.0-patch_c_extension.patch"
80- end
81- build_commands << "#{ platform . patch } --strip=2 --fuzz=0 --ignore-whitespace --no-backup-if-mismatch < ../ruby-augeas-0.5.0-patch_remove_unused_parameter.patch"
8274 build_commands << "#{ ruby } ext/augeas/extconf.rb"
8375 build_commands << "#{ platform [ :make ] } -e -j$(shell expr $(shell #{ platform [ :num_cores ] } ) + 1)"
8476
You can’t perform that action at this time.
0 commit comments