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
Łukasz Nowak
chromebrew
Commits
bb65ac9f
Commit
bb65ac9f
authored
May 20, 2020
by
Ed Reel
Committed by
GitHub
May 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add acpi package (#4077)
Add pre-built binaries
parent
cd22336e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
packages/acpi.rb
packages/acpi.rb
+32
-0
No files found.
packages/acpi.rb
0 → 100644
View file @
bb65ac9f
require
'package'
class
Acpi
<
Package
description
'Attempts to replicate the functionality of the \'old\' apm command on ACPI systems, including battery and thermal information.'
homepage
'https://sourceforge.net/projects/acpiclient/'
version
'1.7'
#compatibility 'all'
source_url
'https://downloads.sourceforge.net/project/acpiclient/acpiclient/1.7/acpi-1.7.tar.gz'
source_sha256
'd7a504b61c716ae5b7e81a0c67a50a51f06c7326f197b66a4b823de076a35005'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/acpi-1.7-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/acpi-1.7-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/acpi-1.7-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/acpi-1.7-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'86f608f45ef9c7d423f26f4b1a268e7b995061e1ecb613bf3fbca2d9c7bf5665'
,
armv7l:
'86f608f45ef9c7d423f26f4b1a268e7b995061e1ecb613bf3fbca2d9c7bf5665'
,
i686:
'bbb6d7c0db9e4777aaca3b38e08affc74f16af661274b2d962ef8189a5338d2f'
,
x86_64:
'db69280f951b024431221a7f28af55b9f103baa82a981619a3da01c161c2d485'
,
})
def
self
.
build
system
"./configure
#{
CREW_OPTIONS
}
"
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