mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
34 lines
1.3 KiB
Ruby
34 lines
1.3 KiB
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_url ({
|
|
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bitmap-1.0.9-chromeos-armv7l.tar.xz',
|
|
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bitmap-1.0.9-chromeos-armv7l.tar.xz',
|
|
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bitmap-1.0.9-chromeos-i686.tar.xz',
|
|
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bitmap-1.0.9-chromeos-x86_64.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
|