Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
40baf66f
Commit
40baf66f
authored
6 years ago
by
Chris Thurber
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2659 from uberhacker/add-jsoncpp-package
Add jsoncpp package
parents
4bb99f7b
a889497b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
packages/jsoncpp.rb
packages/jsoncpp.rb
+41
-0
No files found.
packages/jsoncpp.rb
0 → 100644
View file @
40baf66f
require
'package'
class
Jsoncpp
<
Package
description
'A C++ library for interacting with JSON.'
homepage
'https://github.com/open-source-parsers/jsoncpp'
version
'1.8.4'
source_url
'https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz'
source_sha256
'c49deac9e0933bcb7044f08516861a2d560988540b23de2ac1ad443b219afdb6'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/jsoncpp-1.8.4-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/jsoncpp-1.8.4-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/jsoncpp-1.8.4-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/jsoncpp-1.8.4-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'5b8b28dfbdb1a30ba094d9c694e2f7a3b27d3cadbdaa463173baa4f813630f2c'
,
armv7l:
'5b8b28dfbdb1a30ba094d9c694e2f7a3b27d3cadbdaa463173baa4f813630f2c'
,
i686:
'd32ae2439fe8fdeae7c61d58d2b8d55d97b65ac44dfa7cfc0e4840455cb48acb'
,
x86_64:
'0ae17bea20bcd7daeb5a80b45e9b49601c288a7c75077c26c3bb64d8d1ea8dd5'
,
})
depends_on
'meson'
def
self
.
build
system
"meson --prefix
#{
CREW_PREFIX
}
\
--libdir=
#{
CREW_LIB_PREFIX
}
\
--buildtype release \
--default-library shared . build"
end
def
self
.
check
system
'ninja -v -C build test'
end
def
self
.
install
Dir
.
chdir
'build'
do
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja install"
end
end
end
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment