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
64e31d93
Commit
64e31d93
authored
Apr 06, 2021
by
satmandu
Committed by
GitHub
Apr 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grep rebuild (#5549)
* grep rebuild * build without-regex
parent
75a9fa24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
packages/grep.rb
packages/grep.rb
+21
-15
No files found.
packages/grep.rb
View file @
64e31d93
# Adapted from Arch Linux grep PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/grep/trunk/PKGBUILD
require
'package'
require
'package'
class
Grep
<
Package
class
Grep
<
Package
description
'A string search utility'
description
'A string search utility'
homepage
'https://www.gnu.org/software/grep/'
homepage
'https://www.gnu.org/software/grep/'
version
'3.6'
version
'3.6
-2
'
license
'GPL-3+'
license
'GPL-3+'
compatibility
'all'
compatibility
'all'
source_url
'https://ftp.gnu.org/gnu/grep/grep-3.6.tar.xz'
source_url
'https://ftp.gnu.org/gnu/grep/grep-3.6.tar.xz'
source_sha256
'667e15e8afe189e93f9f21a7cd3a7b3f776202f417330b248c2ad4f997d9373e'
source_sha256
'667e15e8afe189e93f9f21a7cd3a7b3f776202f417330b248c2ad4f997d9373e'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6
-chromeos-armv7l.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6-2
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6-2
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6
-chromeos-i686.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6-2
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6-chromeos-x86_64.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/grep-3.6-2-chromeos-x86_64.tar.xz'
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'87ebec000c54b032f1e2720b03a30dfb13f14dc3a2a68a4c943daae64dc5ee34
'
,
aarch64:
'668f794614cab844c7e29d4970ea5c1ab0ff15d822dff5c806efd769d81d9097
'
,
armv7l:
'87ebec000c54b032f1e2720b03a30dfb13f14dc3a2a68a4c943daae64dc5ee34
'
,
armv7l:
'668f794614cab844c7e29d4970ea5c1ab0ff15d822dff5c806efd769d81d9097
'
,
i686:
'a6a62d2c91c346041fc4408727e387e2cc415e304d2ca7d372a97256520d6f64
'
,
i686:
'25070365f43b5204c58e1830fbf3651a3163013d0c034f27c22bb086d6210032
'
,
x86_64:
'0106cbf95ada69fc0205b4af06af4e46144156934555b5bd9376e4c00d61092f'
,
x86_64:
'e232de82d2e313efe7e14f10620471ed25f54ccfb5eeffebde8defead9c20acf'
})
})
depends_on
'pcre'
def
self
.
build
def
self
.
build
ENV
[
'CFLAGS'
]
=
'-flto'
system
"env CFLAGS='-flto' CXXFLAGS='-flto' \
system
"./configure
#{
CREW_OPTIONS
}
\
LDFLAGS='-flto -Wl,-z,defs -Wl,--no-as-needed -ldl -Wl,--as-needed' \
--without-included-regex"
CPPFLAGS=-DHAVE_DYNAMIC_LIBPCRE \
system
"make"
./configure
#{
CREW_OPTIONS
}
\
--without-included-regex"
system
'make'
end
end
def
self
.
install
def
self
.
install
system
"make DESTDIR=
#{
CREW_DEST_DIR
}
install"
system
"make DESTDIR=
#{
CREW_DEST_DIR
}
install"
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