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
Guillaume Hervier
chromebrew
Commits
f2f56794
Commit
f2f56794
authored
Dec 29, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update unzip package to fix patch issue and compress man pages
parent
42ef4ee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
packages/unzip.rb
packages/unzip.rb
+5
-12
No files found.
packages/unzip.rb
View file @
f2f56794
...
...
@@ -3,24 +3,17 @@ require 'package'
class
Unzip
<
Package
description
'UnZip is an extraction utility for archives compressed in .zip format (also called \'zipfiles\').'
homepage
'http://www.info-zip.org/UnZip.html'
version
'1.6_1'
version
'1.6_1
-1
'
source_url
'https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz'
source_sha256
'036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/unzip-1.6_1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/unzip-1.6_1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/unzip-1.6_1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/unzip-1.6_1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'908e42c861f246a9d3bebf166ef66f771372414d569c2d38cafb8d6feb6c92dc'
,
armv7l:
'908e42c861f246a9d3bebf166ef66f771372414d569c2d38cafb8d6feb6c92dc'
,
i686:
'f03a2abf53121c4f46e3e71d12d0ea8956bc7dec73b57586033d8e9b2b55e547'
,
x86_64:
'92fcd85aac88f039375e98386b47a916a739c744f21808f2a037011eca82e700'
,
})
depends_on
'patch'
depends_on
'compressdoc'
=>
:build
depends_on
'patch'
=>
:build
# adapted from the homebrew recipe as seen at: https://github.com/Homebrew/homebrew-dupes/blob/master/unzip.rb
# Upstream is unmaintained so we use the Ubuntu unzip-6.0-20ubuntu1 patchset:
...
...
@@ -37,7 +30,6 @@ class Unzip < Package
end
def
self
.
build
self
.
patch
if
ARCH
==
"armv7l"
system
"make -f unix/Makefile linux_noasm"
else
...
...
@@ -46,7 +38,8 @@ class Unzip < Package
end
def
self
.
install
system
"make"
,
"BINDIR=
#{
CREW_DEST_DIR
}#{
CREW_PREFIX
}
/bin"
,
"MANDIR=
#{
CREW_DEST_DIR
}#{
CREW_PREFIX
}
/share/man"
,
"-f"
,
"unix/Makefile"
,
"install"
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"BINDIR=
#{
CREW_DEST_PREFIX
}
/bin"
,
"MANDIR=
#{
CREW_DEST_PREFIX
}
/share/man/man1"
,
"-f"
,
"unix/Makefile"
,
"install"
system
"compressdoc --gzip -9
#{
CREW_DEST_PREFIX
}
/share/man/man1"
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