mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS * Rename build_extras and install_extras to configure_build_extras and configure_install_extras
35 lines
947 B
Ruby
35 lines
947 B
Ruby
require 'package'
|
|
|
|
class Aribb25 < Package
|
|
description 'aribb25 is a basic implementation of the ARIB STD-B25 public standard.'
|
|
homepage 'https://code.videolan.org/videolan/aribb25/'
|
|
version '0.2.7'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
license 'ISC'
|
|
source_url 'https://code.videolan.org/videolan/aribb25.git'
|
|
git_hashtag version
|
|
binary_compression 'tpxz'
|
|
|
|
binary_sha256({
|
|
aarch64: '21290fa231ac801bbafbcf7c6f16e588257d241560e81999df3014e48c15715e',
|
|
armv7l: '21290fa231ac801bbafbcf7c6f16e588257d241560e81999df3014e48c15715e',
|
|
x86_64: '8efc2a4ebaf94e5f556882b80b86dd5cecdecc7e3029b7e14b2a6fb9fd914b12'
|
|
})
|
|
|
|
depends_on 'pcsc_lite'
|
|
|
|
def self.build
|
|
system 'autoreconf -fiv'
|
|
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
|
|
def self.check
|
|
system 'make', 'check'
|
|
end
|
|
end
|