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

29 lines
920 B
Ruby

require 'package'
class Bitmap < Package
description 'bitmap, bmtoa, atobm - X bitmap (XBM) editor and converter utilities'
homepage 'https://www.x.org'
version '1.0.9'
license 'custom'
compatibility 'all'
source_url 'https://x.org/archive/individual/app/bitmap-1.0.9.tar.bz2'
source_sha256 'e0f3afad5272d796f54c33fa1b5bd1fb3f62843a54b28c87196d06a35123e5f5'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '45218cfba754b357f8e0dac9f73b70200a8e10835317e69d20da17ec5d9ca8d0',
armv7l: '45218cfba754b357f8e0dac9f73b70200a8e10835317e69d20da17ec5d9ca8d0',
i686: '4d534650ef7d4fa093fba30398684611328586f059bb2f6ae422c09205a087ac',
x86_64: 'b83e9bd27893924cbde524bf8fb0da3d7055b7ca94b60f51d6f1af2b0002f59c'
})
def self.build
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end