mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Add b2 package (#5919)
This commit is contained in:
@@ -100,6 +100,7 @@ Latest Packages
|
||||
|
||||
| Name | Description | Date Added |
|
||||
|:---|:---|:---|
|
||||
| b2 | B2 makes it easy to build C++ projects, everywhere. | 2021-07-01 |
|
||||
| shells | Launch your Shells™ virtual desktop | 2021-06-25 |
|
||||
| codelobster | Free cross-platform IDE for PHP/HTML/CSS/JavaScript development | 2021-06-23 |
|
||||
| ltrace | ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. | 2021-06-22 |
|
||||
@@ -109,7 +110,6 @@ Latest Packages
|
||||
| rdfind | Redundant data find - a program that finds duplicate files. | 2021-06-07 |
|
||||
| libcurl | Command line tool and library for transferring data with URLs. | 2021-06-07 |
|
||||
| pdfchain | PDF Chain is a graphical user interface for the PDF Toolkit (PDFtk). | 2021-06-01 |
|
||||
| pdftk | PDFtk is a simple tool for doing everyday things with PDF documents. | 2021-05-31 |
|
||||
|
||||
Chat with us!
|
||||
-------------
|
||||
|
||||
32
packages/b2.rb
Normal file
32
packages/b2.rb
Normal file
@@ -0,0 +1,32 @@
|
||||
require 'package'
|
||||
|
||||
class B2 < Package
|
||||
description 'B2 makes it easy to build C++ projects, everywhere.'
|
||||
homepage 'https://www.bfgroup.xyz/b2/'
|
||||
version '4.4.1'
|
||||
license 'BSL 1.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/boostorg/build/archive/refs/tags/4.4.1.tar.gz'
|
||||
source_sha256 '31a243b1eb26638500977a8386e56d44f86c18db70cf0a5dcdd2d7391afc1a61'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/b2/4.4.1_armv7l/b2-4.4.1-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/b2/4.4.1_armv7l/b2-4.4.1-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/b2/4.4.1_i686/b2-4.4.1-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/b2/4.4.1_x86_64/b2-4.4.1-chromeos-x86_64.tpxz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'e569052575f2ea9cca33f7fc6b1bfd95a8fb3a6366da44142f51c99a71b377ed',
|
||||
armv7l: 'e569052575f2ea9cca33f7fc6b1bfd95a8fb3a6366da44142f51c99a71b377ed',
|
||||
i686: '108b05f8acd6c4f5b0b9748fe274a7d439dfd2bf52ea1a37bee8eca936a542c5',
|
||||
x86_64: '545ab9a0d26e0abe5296a7913ea7d0ded9caea6592f1cf7cd623d290e7f96343',
|
||||
})
|
||||
|
||||
def self.build
|
||||
system './bootstrap.sh'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "./b2 install --prefix=#{CREW_DEST_PREFIX}"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user