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
3aa49015
Commit
3aa49015
authored
Aug 13, 2017
by
Damian Montero
Committed by
GitHub
Aug 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1041 from jam7/update/subversion
Update subversion to 1.9.7 and correct the install method of serf
parents
5b27fb78
eaa81ec7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
packages/serf.rb
packages/serf.rb
+6
-3
packages/subversion.rb
packages/subversion.rb
+5
-7
No files found.
packages/serf.rb
View file @
3aa49015
...
@@ -3,7 +3,7 @@ require 'package'
...
@@ -3,7 +3,7 @@ require 'package'
class
Serf
<
Package
class
Serf
<
Package
description
'The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.'
description
'The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.'
homepage
'https://serf.apache.org/'
homepage
'https://serf.apache.org/'
version
'1.3.9-
1
'
version
'1.3.9-
2
'
source_url
'https://www.apache.org/dist/serf/serf-1.3.9.tar.bz2'
source_url
'https://www.apache.org/dist/serf/serf-1.3.9.tar.bz2'
source_sha256
'549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
source_sha256
'549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
...
@@ -11,8 +11,11 @@ class Serf < Package
...
@@ -11,8 +11,11 @@ class Serf < Package
depends_on
'aprutil'
depends_on
'aprutil'
depends_on
'openssl'
depends_on
'openssl'
def
self
.
build
system
"scons APR=
#{
CREW_PREFIX
}
APU=
#{
CREW_PREFIX
}
OPENSSL=
#{
CREW_PREFIX
}
/include/openssl PREFIX=
#{
CREW_PREFIX
}
LIBDIR=
#{
CREW_LIB_PREFIX
}
"
end
def
self
.
install
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local"
system
"scons install --install-sandbox=
#{
CREW_DEST_DIR
}
"
system
"scons APR=/usr/local APU=/usr/local OPENSSL=/usr/local/include/openssl PREFIX=
#{
CREW_DEST_DIR
}
/usr/local install"
end
end
end
end
packages/subversion.rb
View file @
3aa49015
...
@@ -3,21 +3,19 @@ require 'package'
...
@@ -3,21 +3,19 @@ require 'package'
class
Subversion
<
Package
class
Subversion
<
Package
description
'Subversion is an open source version control system.'
description
'Subversion is an open source version control system.'
homepage
'https://subversion.apache.org/'
homepage
'https://subversion.apache.org/'
version
'1.9.
6-1
'
version
'1.9.
7
'
source_url
'http://
apache.mirrors.ionfish.org/subversion/subversion-1.9.6
.tar.bz2'
source_url
'http://
www-us.apache.org/dist/subversion/subversion-1.9.7
.tar.bz2'
source_sha256
'
dbcbc51fb634082f009121f2cb64350ce32146612787ffb0f7ced351aacaae19
'
source_sha256
'
c3b118333ce12e501d509e66bb0a47bcc34d053990acab45559431ac3e491623
'
depends_on
'aprutil'
depends_on
'aprutil'
depends_on
'autoconf'
depends_on
'autoconf'
depends_on
'libtool'
depends_on
'libtool'
depends_on
'serf'
depends_on
'serf'
depends_on
'sqlite'
depends_on
'sqlite'
depends_on
'zlibpkg'
def
self
.
build
def
self
.
build
system
"sed -i 's,<serf.h>,</usr/local/include/serf-1/serf.h>,' subversion/libsvn_ra_serf/*"
system
'./configure'
,
'--disable-static'
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
"sed -i 's,<serf_bucket_util.h>,</usr/local/include/serf-1/serf_bucket_util.h>,' subversion/libsvn_ra_serf/*.c"
system
"sed -i 's,<serf_bucket_types.h>,</usr/local/include/serf-1/serf_bucket_types.h>,' subversion/libsvn_ra_serf/*.c"
system
'./configure'
system
'make'
system
'make'
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