Files
chromebrew/packages/xmlcatmgr.rb
Maximilian Downey Twiss de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00

34 lines
1.4 KiB
Ruby

require 'package'
class Xmlcatmgr < Package
description 'XML and SGML catalog manager'
homepage 'https://xmlcatmgr.sourceforge.net'
version '2.2'
license 'BSD'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/sourceforge/xmlcatmgr/xmlcatmgr-2.2.tar.gz'
source_sha256 'ea1142b6aef40fbd624fc3e2130cf10cf081b5fa88e5229c92b8f515779d6fdc'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/xmlcatmgr/2.2_armv7l/xmlcatmgr-2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/xmlcatmgr/2.2_armv7l/xmlcatmgr-2.2-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/xmlcatmgr/2.2_i686/xmlcatmgr-2.2-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/xmlcatmgr/2.2_x86_64/xmlcatmgr-2.2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '24f525796676d285347f300bb26b60c728d6384032e0dad2230bc0c4bbb41eea',
armv7l: '24f525796676d285347f300bb26b60c728d6384032e0dad2230bc0c4bbb41eea',
i686: '656fb01f7e1e1f7c78b4f389d7bd80404a26333d23eb257517972d167952e439',
x86_64: 'b7942cbf386adb0b43116c5f041ff97a3c2c7202687a0a03575e498e0b8d43b1'
})
def self.build
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end