-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #817 from joshcooper/cleanup
Drop unused win32 gems from bolt-runtime and other cleanup
- Loading branch information
Showing
14 changed files
with
95 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,34 @@ | ||
component 'dmidecode' do |pkg, settings, platform| | ||
pkg.version '3.3' | ||
pkg.md5sum 'afca949fd71a23dd39c4a3c9cd946dc0' | ||
pkg.version '3.3' | ||
pkg.md5sum 'afca949fd71a23dd39c4a3c9cd946dc0' | ||
|
||
pkg.apply_patch 'resources/patches/dmidecode/1117390c.patch' | ||
pkg.apply_patch 'resources/patches/dmidecode/11e134e5.patch' | ||
|
||
pkg.apply_patch 'resources/patches/dmidecode/dmidecode-install-to-bin.patch' | ||
pkg.url "http://download.savannah.gnu.org/releases/dmidecode/dmidecode-#{pkg.get_version}.tar.xz" | ||
pkg.mirror "#{settings[:buildsources_url]}/dmidecode-#{pkg.get_version}.tar.xz" | ||
|
||
pkg.environment "LDFLAGS", settings[:ldflags] | ||
pkg.environment "CFLAGS", settings[:cflags] | ||
|
||
if platform.is_cross_compiled? | ||
# The Makefile doesn't honor environment overrides, so we need to | ||
# edit it directly for cross-compiling | ||
pkg.configure do | ||
["sed -i \"s|gcc|/opt/pl-build-tools/bin/#{settings[:platform_triple]}-gcc|g\" Makefile"] | ||
end | ||
end | ||
|
||
pkg.build do | ||
["#{platform[:make]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1)"] | ||
end | ||
|
||
pkg.install do | ||
[ | ||
"#{platform[:make]} prefix=#{settings[:prefix]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1) install", | ||
"rm -f #{settings[:bindir]}/vpddecode #{settings[:bindir]}/biosdecode #{settings[:bindir]}/ownership", | ||
"rm -f #{settings[:mandir]}/man8/ownership.8 #{settings[:mandir]}/man8/biosdecode.8 #{settings[:mandir]}/man8/vpddecode.8" | ||
] | ||
pkg.apply_patch 'resources/patches/dmidecode/1117390c.patch' | ||
pkg.apply_patch 'resources/patches/dmidecode/11e134e5.patch' | ||
|
||
pkg.apply_patch 'resources/patches/dmidecode/dmidecode-install-to-bin.patch' | ||
pkg.url "http://download.savannah.gnu.org/releases/dmidecode/dmidecode-#{pkg.get_version}.tar.xz" | ||
pkg.mirror "#{settings[:buildsources_url]}/dmidecode-#{pkg.get_version}.tar.xz" | ||
|
||
pkg.environment "LDFLAGS", settings[:ldflags] | ||
pkg.environment "CFLAGS", settings[:cflags] | ||
|
||
if platform.is_cross_compiled? | ||
# The Makefile doesn't honor environment overrides, so we need to | ||
# edit it directly for cross-compiling | ||
pkg.configure do | ||
["sed -i \"s|gcc|/opt/pl-build-tools/bin/#{settings[:platform_triple]}-gcc|g\" Makefile"] | ||
end | ||
end | ||
|
||
|
||
|
||
pkg.build do | ||
["#{platform[:make]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1)"] | ||
end | ||
|
||
pkg.install do | ||
[ | ||
"#{platform[:make]} prefix=#{settings[:prefix]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1) install", | ||
"rm -f #{settings[:bindir]}/vpddecode #{settings[:bindir]}/biosdecode #{settings[:bindir]}/ownership", | ||
"rm -f #{settings[:mandir]}/man8/ownership.8 #{settings[:mandir]}/man8/biosdecode.8 #{settings[:mandir]}/man8/vpddecode.8" | ||
] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
component 'rubygem-prime' do |pkg, settings, platform| | ||
pkg.version '0.1.2' | ||
pkg.sha256sum 'd4e956cadfaf04de036dc7dc74f95bf6a285a62cc509b28b7a66b245d19fe3a4' | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end | ||
|
||
pkg.version '0.1.2' | ||
pkg.sha256sum 'd4e956cadfaf04de036dc7dc74f95bf6a285a62cc509b28b7a66b245d19fe3a4' | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ | |
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,46 @@ | ||
component "virt-what" do |pkg, settings, platform| | ||
pkg.version "1.22" | ||
pkg.md5sum "0e9923de6a6c6f07bc0ddc3ec8fc1018" | ||
|
||
pkg.url "https://people.redhat.com/~rjones/virt-what/files/virt-what-#{pkg.get_version}.tar.gz" | ||
pkg.mirror "#{settings[:buildsources_url]}/virt-what-#{pkg.get_version}.tar.gz" | ||
|
||
pkg.replaces 'pe-virt-what' | ||
|
||
# Run-time requirements | ||
unless platform.is_deb? | ||
requires "util-linux" | ||
end | ||
|
||
if platform.is_rpm? | ||
pkg.build_requires "util-linux" | ||
end | ||
|
||
if platform.is_linux? | ||
if platform.architecture =~ /ppc64le$/ | ||
host_opt = '--host powerpc64le-unknown-linux-gnu' | ||
elsif platform.architecture =~ /ppc64$/ | ||
host_opt = '--host powerpc64-unknown-linux-gnu' | ||
end | ||
end | ||
|
||
if platform.is_cross_compiled_linux? | ||
host_opt = "--host #{settings[:platform_triple]}" | ||
|
||
pkg.environment "PATH" => "/opt/pl-build-tools/bin:$$PATH:#{settings[:bindir]}" | ||
pkg.environment "CFLAGS" => settings[:cflags] | ||
pkg.environment "LDFLAGS" => settings[:ldflags] | ||
end | ||
|
||
pkg.configure do | ||
["./configure --prefix=#{settings[:prefix]} --sbindir=#{settings[:prefix]}/bin --libexecdir=#{settings[:prefix]}/lib/virt-what #{host_opt}"] | ||
end | ||
|
||
pkg.build do | ||
["#{platform[:make]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1)"] | ||
end | ||
|
||
pkg.install do | ||
["#{platform[:make]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1) install"] | ||
pkg.version "1.22" | ||
pkg.md5sum "0e9923de6a6c6f07bc0ddc3ec8fc1018" | ||
|
||
pkg.url "https://people.redhat.com/~rjones/virt-what/files/virt-what-#{pkg.get_version}.tar.gz" | ||
pkg.mirror "#{settings[:buildsources_url]}/virt-what-#{pkg.get_version}.tar.gz" | ||
|
||
pkg.replaces 'pe-virt-what' | ||
|
||
# Run-time requirements | ||
unless platform.is_deb? | ||
requires "util-linux" | ||
end | ||
|
||
if platform.is_rpm? | ||
pkg.build_requires "util-linux" | ||
end | ||
|
||
if platform.is_linux? | ||
if platform.architecture =~ /ppc64le$/ | ||
host_opt = '--host powerpc64le-unknown-linux-gnu' | ||
elsif platform.architecture =~ /ppc64$/ | ||
host_opt = '--host powerpc64-unknown-linux-gnu' | ||
end | ||
end | ||
|
||
|
||
if platform.is_cross_compiled_linux? | ||
host_opt = "--host #{settings[:platform_triple]}" | ||
|
||
pkg.environment "PATH" => "/opt/pl-build-tools/bin:$$PATH:#{settings[:bindir]}" | ||
pkg.environment "CFLAGS" => settings[:cflags] | ||
pkg.environment "LDFLAGS" => settings[:ldflags] | ||
end | ||
|
||
pkg.configure do | ||
["./configure --prefix=#{settings[:prefix]} --sbindir=#{settings[:prefix]}/bin --libexecdir=#{settings[:prefix]}/lib/virt-what #{host_opt}"] | ||
end | ||
|
||
pkg.build do | ||
["#{platform[:make]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1)"] | ||
end | ||
|
||
pkg.install do | ||
["#{platform[:make]} -j$(shell expr $(shell #{platform[:num_cores]}) + 1) install"] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters