mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
38 lines
1.4 KiB
Ruby
38 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class Libxt < Package
|
|
description 'X.org X Toolkit Library'
|
|
homepage 'https://www.x.org'
|
|
version '1.2.1'
|
|
license 'custom'
|
|
compatibility 'all'
|
|
source_url 'https://www.x.org/archive/individual/lib/libXt-1.2.1.tar.gz'
|
|
source_sha256 '6da1bfa9dd0ed87430a5ce95b129485086394df308998ebe34d98e378e3dfb33'
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxt/1.2.1_armv7l/libxt-1.2.1-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxt/1.2.1_armv7l/libxt-1.2.1-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxt/1.2.1_i686/libxt-1.2.1-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxt/1.2.1_x86_64/libxt-1.2.1-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: 'a7ff82ccb3d878142449b1b61b4523a37c02a6341588165541159175d313dabf',
|
|
armv7l: 'a7ff82ccb3d878142449b1b61b4523a37c02a6341588165541159175d313dabf',
|
|
i686: '12408a157c8b17f0d32a2166ed9ae6de560985bce948d8da0ad4ad9be895fbf9',
|
|
x86_64: 'c59be078d6b5120a57ee6a0ee21caea62e9f6a227855e014a3b661c3400e50f0'
|
|
})
|
|
|
|
depends_on 'libsm'
|
|
depends_on 'libx11'
|
|
patchelf
|
|
|
|
def self.build
|
|
system "./configure #{CREW_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|