Files
chromebrew/packages/xbitmaps.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

31 lines
1023 B
Ruby

require 'package'
class Xbitmaps < Package
description 'The xbitmaps package contains bitmap images used by multiple applications built in Xorg chapter.'
homepage 'http://www.x.org'
version '1.1.1'
license 'MIT'
compatibility 'all'
source_url 'https://www.x.org/pub/individual/data/xbitmaps-1.1.1.tar.bz2'
source_sha256 '3671b034356bbc4d32d052808cf646c940ec8b2d1913adac51b1453e41aa1e9d'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'f593f78a6db4cf69e97da6a07e954971a8623164799161bca5fd7e717085720d',
armv7l: 'f593f78a6db4cf69e97da6a07e954971a8623164799161bca5fd7e717085720d',
i686: 'c02b3e780b87551954cf975020a5065a8277f935f769b5d56fe80b8ccfd8b50d',
x86_64: '161b342836f77df11606c5fa965b38912022d108569313d504a0bc5d1bce4c16'
})
depends_on 'util_macros' => :build
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