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
f1f6ec1e
Commit
f1f6ec1e
authored
Dec 03, 2020
by
satmandu
Committed by
GitHub
Dec 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add lm_sensors (#4690)
parent
b2359c77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
packages/lm_sensors.rb
packages/lm_sensors.rb
+23
-0
No files found.
packages/lm_sensors.rb
0 → 100644
View file @
f1f6ec1e
require
'package'
class
Lm_sensors
<
Package
description
'Collection of user space tools for general SMBus access and hardware monitoring'
homepage
'https://hwmon.wiki.kernel.org/lm_sensors'
version
'3.6.0'
compatibility
'all'
source_url
'https://github.com/lm-sensors/lm-sensors/archive/V3-6-0.tar.gz'
source_sha256
'0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197'
def
self
.
build
system
"sed -i 's/-Llib -lsensors/-Llib -lsensors -liconv/g' prog/sensors/Module.mk"
system
"sed -i
\"
/LIBDIR :=/c LIBDIR :=
#{
CREW_LIB_PREFIX
}
\"
Makefile"
system
"sed -i
\"
/ETCDIR :=/c ETCDIR :=
#{
CREW_PREFIX
}
\/
etc
\"
Makefile"
system
"make PREFIX=
#{
CREW_PREFIX
}
"
end
def
self
.
install
system
"make PREFIX=
#{
CREW_PREFIX
}
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