Files
chromebrew/packages/xorg_cf_files.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

32 lines
991 B
Ruby

require 'package'
class Xorg_cf_files < Package
description 'X.org cf files for use with imake builds.'
homepage 'https://x.org/wiki/'
version '1.0.7'
license 'MIT'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/util/xorg-cf-files-1.0.7.tar.gz'
source_sha256 'a49478ba0c2138bc53de38979cd2dee073b6fd6728597c552d266a707747f472'
binary_compression 'tpxz'
binary_sha256({
aarch64: '9fa482169d3e253107419a1f05cb8e6d3e3c2f58846133c2b0f827cde7161565',
armv7l: '9fa482169d3e253107419a1f05cb8e6d3e3c2f58846133c2b0f827cde7161565',
i686: '265ed1b208b8a304e741a34c96160858df338269f3cbeb56fce312b5d3f101f2',
x86_64: 'a5547a9bff2657d49b928e1979b1abf2aa0c6de2740b1d710fb20f6f3013b7d8'
})
depends_on 'font_util'
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end