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
36d3d0b2
Commit
36d3d0b2
authored
Jun 22, 2016
by
Michał Siwek
Committed by
GitHub
Jun 22, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #177 from minektur/libevent-and-tmux-fixes
Libevent and tmux fixes
parents
a691f7fc
ba9fbba6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
crew
crew
+1
-1
packages/libevent.rb
packages/libevent.rb
+4
-4
packages/tmux.rb
packages/tmux.rb
+3
-4
No files found.
crew
View file @
36d3d0b2
...
...
@@ -145,7 +145,7 @@ def download
sha1sum
=
@pkg
.
binary_sha1
[
@device
[
:architecture
]]
end
Dir
.
chdir
CREW_BREW_DIR
do
system
(
'wget'
,
'--continue'
,
'--
content-disposition'
,
'--no-check-certificate'
,
'-N
'
,
url
,
'-O'
,
filename
)
system
(
'wget'
,
'--continue'
,
'--
no-check-certificate
'
,
url
,
'-O'
,
filename
)
abort
'Checksum mismatch :/ try again'
unless
Digest
::
SHA1
.
hexdigest
(
File
.
read
(
"./
#{
filename
}
"
)
)
==
sha1sum
end
puts
"Archive downloaded"
...
...
packages/libevent.rb
View file @
36d3d0b2
require
'package'
# include package class file
class
Libevent
<
Package
# name the package and make it a Package class instance
version
'2.0.2
1
'
# software version
source_url
'https://github.com/
downloads/libevent/libevent/libevent-2.0.21
-stable.tar.gz'
# software source tarball url
source_sha1
'
3e6674772eb77de24908c6267c698146420ab699
'
# source tarball sha1 sum
version
'2.0.2
2
'
# software version
source_url
'https://github.com/
libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22
-stable.tar.gz'
# software source tarball url
source_sha1
'
a586882bc93a208318c70fc7077ed8fca9862864
'
# source tarball sha1 sum
def
self
.
build
# self.build contains commands needed to build the software from source
system
"./configure"
system
"./configure
--disable-openssl
"
system
"make"
# ordered chronologically
end
...
...
packages/tmux.rb
View file @
36d3d0b2
require
'package'
# include package class file
class
Tmux
<
Package
# name the package and make it a Package class instance
version
'
1.9a
'
# software version
source_url
'http
://downloads.sourceforge.net/tmux/tmux-1.9a
.tar.gz'
# software source tarball url
source_sha1
'
815264268e63c6c85fe8784e06a840883fcfc6a2
'
# source tarball sha1 sum
version
'
2.2
'
# software version
source_url
'http
s://github.com/tmux/tmux/releases/download/2.2/tmux-2.2
.tar.gz'
# software source tarball url
source_sha1
'
5ed1430bc7ef44c227e64e9401c686573dd0791a
'
# source tarball sha1 sum
depends_on
'readline'
# software dependencies
depends_on
'libevent'
depends_on
'openssl'
depends_on
'ncurses'
def
self
.
build
# self.build contains commands needed to build the software from source
...
...
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