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
64f7d9de
Commit
64f7d9de
authored
May 11, 2017
by
Damian Montero
Committed by
GitHub
May 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #637 from jam7/update/libssh2
Update libssh2 to 1.8.0
parents
56feaed5
bdf48a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
13 deletions
+27
-13
packages/libssh2.rb
packages/libssh2.rb
+27
-13
No files found.
packages/libssh2.rb
View file @
64f7d9de
require
'package'
class
Libssh2
<
Package
version
'1.4.3'
binary_url
({
aarch64:
'https://dl.dropboxusercontent.com/s/fq23kj42gsifcvi/libssh2-1.4.3-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.dropboxusercontent.com/s/fq23kj42gsifcvi/libssh2-1.4.3-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.dropboxusercontent.com/s/zjnild1c2i10h53/libssh2-1.4.3-chromeos-i686.tar.gz?token_hash=AAG_aZ7_dPKOiOMCMUiW2g3mLkz8UKHnGn5jLcDAGcNCIA&dl=1'
,
x86_64:
'https://dl.dropboxusercontent.com/s/frzkbbnf35ie6ns/libssh2-1.4.3-chromeos-x86_64.tar.gz?token_hash=AAEk26mEOXT0MX05nM9gG6yNDPkL6KmLazRxKqQCR6qs8Q&dl=1'
,
})
binary_sha1
({
aarch64:
'559f37b727f181ad0b623dba352a9efd0facf51a'
,
armv7l:
'559f37b727f181ad0b623dba352a9efd0facf51a'
,
i686:
'21b4b1a9608b12c0b3d1e6f0b6615f4a4152acb3'
,
x86_64:
'903aae8255c47c6052003837be132ff39582422b'
,
})
version
'1.8.0'
source_url
'https://www.libssh2.org/download/libssh2-1.8.0.tar.gz'
source_sha1
'baf2d1fb338eee531ba9b6b121c64235e089e0f5'
depends_on
'openssl'
=>
:build
depends_on
'zlibpkg'
=>
:build
def
self
.
build
system
"./configure"
,
"--with-zlib"
,
"--with-openssl"
,
"--with-pic"
,
"--disable-static"
system
"make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
# strip debug symbol from library
system
"strip -S
#{
CREW_DEST_DIR
}
/usr/local/lib/libssh2.so.*"
end
def
self
.
check
# Ignore mansyntax.sh test which checks man page syntax errors.
# It causes 'col: Invalid or incomplete multibyte or wide character'
# error at hyphenations. It is mandb's problem.
system
"sed -i tests/Makefile -e '/TESTS =/s/mansyntax.sh//'"
system
"make"
,
"check"
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