Files
chromebrew/packages/libfontenc.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

35 lines
1.1 KiB
Ruby

require 'package'
class Libfontenc < Package
description 'Fontenc Library from X.org'
homepage 'https://xorg.freedesktop.org/wiki/'
version '1.1.7'
license 'MIT'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/lib/libfontenc-1.1.7.tar.xz'
source_sha256 'c0d36991faee06551ddbaf5d99266e97becdc05edfae87a833c3ff7bf73cfec2'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '8d2dee2568b7a2389cff4435c26653fe56c8b3bda1132ec74215ed87ca8eb287',
armv7l: '8d2dee2568b7a2389cff4435c26653fe56c8b3bda1132ec74215ed87ca8eb287',
i686: '20d2b4358c6b10ac9f215919ec0b57691565d7dd1e8883d32397ed5b1d773b32',
x86_64: '4331cdbb4108722b6fc8d05249cdba21b67e917270ccba8b03b17808176dc30f'
})
depends_on 'xorg_proto'
depends_on 'glibc' # R
depends_on 'zlib' # R
def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_CONFIGURE_OPTIONS} \
--with-fontrootdir=#{CREW_PREFIX}/share/fonts/X11"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end