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

29 lines
936 B
Ruby

require 'package'
class Bitmap < Package
description 'bitmap, bmtoa, atobm - X bitmap (XBM) editor and converter utilities'
homepage 'https://www.x.org/wiki/'
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_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end