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
02d30307
Commit
02d30307
authored
Jan 05, 2021
by
satmandu
Committed by
GitHub
Jan 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Check (#4881)
* Add Check * Update check.rb
parent
1baaee97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
packages/check.rb
packages/check.rb
+41
-0
No files found.
packages/check.rb
0 → 100644
View file @
02d30307
require
'package'
class
Check
<
Package
description
'A unit testing framework for C'
homepage
'https://libcheck.github.io/check/'
version
'0.15.2'
source_url
'https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz'
source_sha256
'a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/check-0.15.2-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/check-0.15.2-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/check-0.15.2-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/check-0.15.2-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'935119bc79d705b92a3a67d422b86aa466284bc907026635c06b1767ca1bf346'
,
armv7l:
'935119bc79d705b92a3a67d422b86aa466284bc907026635c06b1767ca1bf346'
,
i686:
'f248bc49996c8a5778574cb899647f493b5411c2ce829f96b899c9233de91927'
,
x86_64:
'7dc419c3be381ccf3575554bbd8e9d4ddd6cc38ede64c29d9b0922ab86d4624a'
,
})
def
self
.
build
system
"autoreconf -fvi"
Dir
.
mkdir
'build'
Dir
.
chdir
'build'
do
system
"env CC=gcc LD=ld \
cmake -G Ninja \
-DCMAKE_INSTALL_PREFIX=
#{
CREW_PREFIX
}
\
-DCMAKE_BUILD_TYPE=Release \
-DCHECK_ENABLE_TIMEOUT_TESTS=OFF \
-DCMAKE_INSTALL_LIBDIR=
#{
CREW_LIB_PREFIX
}
\
.."
system
"ninja"
end
end
def
self
.
install
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja -C build install"
end
end
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