mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
38 lines
1.1 KiB
Ruby
38 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Xauth < Package
|
|
description 'X authority file utility'
|
|
homepage 'https://www.x.org/archive/X11R6.8.1/doc/xauth.1.html'
|
|
version '1.1.2'
|
|
license 'MIT-with-advertising'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://www.x.org/releases/individual/app/xauth-1.1.2.tar.xz'
|
|
source_sha256 '78ba6afd19536ced1dddb3276cba6e9555a211b468a06f95f6a97c62ff8ee200'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '45f2927b7cdcb468a7b1bfa5a686033152c82102761556a21c54ad4cca1f7496',
|
|
armv7l: '45f2927b7cdcb468a7b1bfa5a686033152c82102761556a21c54ad4cca1f7496',
|
|
x86_64: 'ff7990530301e1a63dd79a7ef7d67c152acbce582204f77eb2c29bb0bc8b53c7'
|
|
})
|
|
|
|
depends_on 'libx11' # R
|
|
depends_on 'libxau' # R
|
|
depends_on 'libxext' # R
|
|
depends_on 'libxmu' # R
|
|
depends_on 'glibc' # R
|
|
|
|
def self.build
|
|
system "./configure #{CREW_CONFIGURE_OPTIONS} \
|
|
--enable-ipv6 \
|
|
--enable-tcp-transport \
|
|
--enable-unix-transport \
|
|
--enable-local-transport"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|