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
96a26525
Commit
96a26525
authored
May 06, 2019
by
Ed Reel
Committed by
Chris Thurber
May 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mcelog package (#3262)
parent
483a4aa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
packages/mcelog.rb
packages/mcelog.rb
+27
-0
No files found.
packages/mcelog.rb
0 → 100644
View file @
96a26525
require
'package'
class
Mcelog
<
Package
description
'logs and accounts machine checks (in particular memory, IO, and CPU hardware errors) on modern x86 Linux systems.'
homepage
'https://www.mcelog.org/'
version
'162'
source_url
'https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/snapshot/mcelog-162.tar.gz'
source_sha256
'875e98572e86240ea319ab1f69ee6d744eb8b73ac5d700e474f6410d0f52d3fc'
binary_url
({
})
binary_sha256
({
})
def
self
.
patch
system
"sed -i 's,prefix := /usr,prefix :=
#{
CREW_PREFIX
}
,' Makefile"
system
"sed -i 's,etcprefix :=,etcprefix :=
#{
CREW_PREFIX
}
,' Makefile"
end
def
self
.
build
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"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