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

34 lines
987 B
Ruby

require 'package'
class Libmms < Package
description 'MMS stream protocol library'
homepage 'https://sourceforge.net/projects/libmms/'
version '0.6.4'
license 'LGPL-2.1'
compatibility 'all'
source_url 'https://download.sourceforge.net/libmms/libmms-0.6.4.tar.gz'
source_sha256 '3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '70ff7a70293b11b92859e7ec8b7ff6c96f8e3e34ee325f83becd2cf2efcfe99b',
armv7l: '70ff7a70293b11b92859e7ec8b7ff6c96f8e3e34ee325f83becd2cf2efcfe99b',
i686: '94049b0862336fb69c658698b92ff67c8f9f7521474045e49b32b9d88b99832c',
x86_64: '33686fb9f469a60594bc2391fb8df31575f5a0a2c37e0445db875373396b9caf'
})
def self.patch
system 'filefix'
end
def self.build
system "env #{CREW_ENV_OPTIONS} \
./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end