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
5d6ec65c
Commit
5d6ec65c
authored
Jul 28, 2018
by
Chris Thurber
Committed by
GitHub
Jul 28, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2476 from uberhacker/add-sed-package
Add sed package
parents
1f1e2c68
9481c667
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
packages/sed.rb
packages/sed.rb
+33
-0
No files found.
packages/sed.rb
0 → 100644
View file @
5d6ec65c
require
'package'
class
Sed
<
Package
description
'sed (stream editor) is a non-interactive command-line text editor.'
homepage
'https://www.gnu.org/software/sed/'
version
'4.1.5'
source_url
'https://ftpmirror.gnu.org/sed/sed-4.1.5.tar.gz'
source_sha256
'be955bef7a81d69222e929689e0de0ecf64c13dc5b15b2ee5696d5ef66fdeec0'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'70e097dc6cc82ddb5b840aa57a6495d8a48788e2b9ff72ff866d9addcddb91bb'
,
armv7l:
'70e097dc6cc82ddb5b840aa57a6495d8a48788e2b9ff72ff866d9addcddb91bb'
,
i686:
'56cc17109f324dbb5a0a2eecef1049edb5c1b703168ae94bf05a41bfe8fb10ae'
,
x86_64:
'b5dae5c90e468223d92e97e40cb4fbd827bf3af5e9aad3812afa85419efa475d'
,
})
def
self
.
build
system
"./configure --prefix=
#{
CREW_PREFIX
}
"
system
"sed -i 's, po , ,g' Makefile"
system
"sed -i 's,sed -e,sed,g' Makefile"
system
'make'
end
def
self
.
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