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
b6826097
Commit
b6826097
authored
May 11, 2017
by
Kazushi (Jam) Marukawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pcre to 8.40 and optimized for size.
parent
d2661c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
packages/pcre.rb
packages/pcre.rb
+13
-8
No files found.
packages/pcre.rb
View file @
b6826097
require
'package'
class
Pcre
<
Package
version
'8.
39
'
source_url
'http
://downloads.sourceforge.net/pcre/pcre-8.39.tar.bz2'
# software source tarball url
source_sha1
'
5e38289fd1b4ef3e8426f31a01e34b6924d80b90'
# source tarball sha1 sum
version
'8.
40
'
source_url
'http
s://ftp.pcre.org/pub/pcre/pcre-8.40.tar.bz2'
source_sha1
'
12f338719b8b028a2eecbf9192fcc00a13fc04f6'
def
self
.
build
# self.build contains commands needed to build the software from source
system
"./configure"
system
"make"
# ordered chronologically
def
self
.
build
system
"./configure"
,
"--enable-shared"
,
"--disable-static"
,
"--with-pic"
,
"--enable-utf"
system
"make"
end
def
self
.
install
# self.install contains commands needed to install the software on the target system
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
# remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install-strip"
system
"strip -S
#{
CREW_DEST_DIR
}
/usr/local/lib/lib*.so.*"
end
def
self
.
check
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