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
26dac5a9
Commit
26dac5a9
authored
Dec 10, 2018
by
Chris Thurber
Committed by
GitHub
Dec 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2935 from uberhacker/add-pigz-package
Add pigz package
parents
849754b4
ee42827e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
packages/pigz.rb
packages/pigz.rb
+33
-0
No files found.
packages/pigz.rb
0 → 100644
View file @
26dac5a9
require
'package'
class
Pigz
<
Package
description
'A parallel implementation of gzip for modern multi-processor, multi-core machines'
homepage
'https://zlib.net/pigz/'
version
'2.4'
source_url
'https://zlib.net/pigz/pigz-2.4.tar.gz'
source_sha256
'a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/pigz-2.4-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/pigz-2.4-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/pigz-2.4-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/pigz-2.4-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'10aa75b1ea4f2bd9acc84350fa30c0d152391e37517a2487febde4c6a82d329d'
,
armv7l:
'10aa75b1ea4f2bd9acc84350fa30c0d152391e37517a2487febde4c6a82d329d'
,
i686:
'a9189537126b568f26aaeb6e8df2f8cb0a6519a47f277c796008be29db0dd87e'
,
x86_64:
'7254da818fd1658337f052cf2eaf4ecef66d1932eb3092703f335a847ccf7382'
,
})
def
self
.
build
system
'make'
system
'gzip -9 pigz.1'
end
def
self
.
install
system
"install -Dm755 pigz
#{
CREW_DEST_PREFIX
}
/bin/pigz"
system
"install -Dm755 unpigz
#{
CREW_DEST_PREFIX
}
/bin/unpigz"
system
"install -Dm644 pigz.1.gz
#{
CREW_DEST_PREFIX
}
/share/man/man1/pigz.1.gz"
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