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

36 lines
1.0 KiB
Ruby

require 'package'
class Libxcursor < Package
description 'X.org X Cursor management library'
homepage 'https://www.x.org/wiki/'
version '1.2.1'
license 'MIT'
compatibility 'x86_64 aarch64 armv7l'
source_url "https://www.x.org/archive/individual/lib/libXcursor-#{version}.tar.gz"
source_sha256 '77f96b9ad0a3c422cfa826afabaf1e02b9bfbfc8908c5fa1a45094faad074b98'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'a97308abd1cfddffb54a08bbfd1018ec8d33a139e1cace109815a0056889369a',
armv7l: 'a97308abd1cfddffb54a08bbfd1018ec8d33a139e1cace109815a0056889369a',
x86_64: 'c107c34d8e95d54f6552dd17c105f062a1d27016421db5628298c118bf992708'
})
depends_on 'libxrender'
depends_on 'libxfixes'
depends_on 'glibc' # R
depends_on 'libx11' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end