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
f2feeb94
Commit
f2feeb94
authored
Jun 30, 2020
by
Casey Strouse
Committed by
GitHub
Jun 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4155 from uberhacker/add-hget-package
Add hget package
parents
abde5646
bfe88813
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
packages/hget.rb
packages/hget.rb
+35
-0
No files found.
packages/hget.rb
0 → 100644
View file @
f2feeb94
require
'package'
class
Hget
<
Package
description
'interruptable, resumable download accelerator'
homepage
'https://github.com/huydx/hget'
version
'8cff5f7'
compatibility
'all'
source_url
'file:///dev/null'
source_sha256
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/hget-8cff5f7-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/hget-8cff5f7-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/hget-8cff5f7-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/hget-8cff5f7-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'5cd8050d079a49c9377a8e2ea91f90ab038a248ab2bf22a93a9fbab5689d1e96'
,
armv7l:
'5cd8050d079a49c9377a8e2ea91f90ab038a248ab2bf22a93a9fbab5689d1e96'
,
i686:
'ba7f70141549d8d61be4dea806b34a36a895e06e8fb60c76caed3d3af937277f'
,
x86_64:
'0dd19e6e75f73830d19f699fbb2a83145465e77ae03323d59346ddc7be543faf'
,
})
depends_on
'go'
=>
:build
def
self
.
install
ENV
[
"GOPATH"
]
=
"
#{
Dir
.
pwd
}
/go"
FileUtils
.
mkdir_p
"
#{
Dir
.
pwd
}
/go/src"
system
'go get -d github.com/huydx/hget'
FileUtils
.
cd
'go/src/github.com/huydx/hget'
do
system
'make'
,
'clean'
,
'install'
system
"install -Dm755 bin/hget
#{
CREW_DEST_PREFIX
}
/bin/hget"
end
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