mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS * Rename build_extras and install_extras to configure_build_extras and configure_install_extras
30 lines
887 B
Ruby
30 lines
887 B
Ruby
require 'package'
|
|
|
|
class Bdftopcf < Package
|
|
description 'BDF to PCF font converter for X11'
|
|
homepage 'https://xorg.freedesktop.org/wiki/'
|
|
version '1.1'
|
|
license 'MIT'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://www.x.org/releases/individual/app/bdftopcf-1.1.tar.bz2'
|
|
source_sha256 '4b4df05fc53f1e98993638d6f7e178d95b31745c4568cee407e167491fd311a2'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: 'cb194dc01e182cdb430c3672d2ac0c7dc83f6091cf2b29e7765ad5b75511074a',
|
|
armv7l: 'cb194dc01e182cdb430c3672d2ac0c7dc83f6091cf2b29e7765ad5b75511074a',
|
|
x86_64: 'b01c0ae817a810ddc1523a2b9fe97c0efcc45b6301aa84c1cf3618020cbdb80b'
|
|
})
|
|
|
|
depends_on 'libxfont'
|
|
|
|
def self.build
|
|
system "./configure #{CREW_CONFIGURE_OPTIONS} "
|
|
system "make -j#{CREW_NPROC}"
|
|
end
|
|
|
|
def self.install
|
|
system "make install DESTDIR=#{CREW_DEST_DIR}"
|
|
end
|
|
end
|