mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
31 lines
917 B
Ruby
31 lines
917 B
Ruby
require 'package'
|
|
|
|
class Libxfont < Package
|
|
description 'library for the X window system'
|
|
homepage 'https://x.org/wiki/'
|
|
version '2.0.1'
|
|
license 'custom'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://www.x.org/archive/individual/lib/libXfont2-2.0.1.tar.gz'
|
|
source_sha256 '381b6b385a69343df48a082523c856aed9042fbbc8ee0a6342fb502e4321230a'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: 'd8c0c65c7a09a22609e0f80ed208430c20d27fad1f8da2126e1bf232a1c4269f',
|
|
armv7l: 'd8c0c65c7a09a22609e0f80ed208430c20d27fad1f8da2126e1bf232a1c4269f',
|
|
x86_64: 'a39664217180079324ce09fb7d341b3d02c9eb479b32c709447d9fea8561ecaf'
|
|
})
|
|
|
|
depends_on 'libfontenc'
|
|
depends_on 'freetype'
|
|
|
|
def self.build
|
|
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|