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
bcb64e48
Commit
bcb64e48
authored
Mar 10, 2021
by
Ed Reel
Committed by
GitHub
Mar 10, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5390 from satmandu/mawk
mawk: Add awk symlink
parents
4ebf0092
21a7df1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
15 deletions
+19
-15
packages/mawk.rb
packages/mawk.rb
+19
-15
No files found.
packages/mawk.rb
View file @
bcb64e48
...
...
@@ -3,31 +3,35 @@ require 'package'
class
Mawk
<
Package
description
'mawk is a POSIX compatible interpreter of the awk language faster than gawk.'
homepage
'https://salsa.debian.org/debian/mawk'
version
'1.3.4'
version
'1.3.4
-1
'
compatibility
'all'
source_url
'https://salsa.debian.org/debian/mawk/-/archive/debian/1.3.4.20200120-2/mawk-debian-1.3.4.20200120-2.tar.bz2'
source_sha256
'61bd21eb4a62b6e1ff199d4c7cb9f9e1cc882ac24e75ad2dab04e190e87656dc'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-
chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-
1-
chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-
1-
chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-
1-
chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/mawk-1.3.4-
1-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'
0eddc2546aec3f7402a1ec1f18434c657f36f63a13c4ca510fbb0343fe413834
'
,
armv7l:
'
0eddc2546aec3f7402a1ec1f18434c657f36f63a13c4ca510fbb0343fe413834
'
,
i686:
'
fbe137d9f6fb87cc215c3844f933b1888cd20c6077e20250426c52d205a8f551
'
,
x86_64:
'
94497fe2244022404ce1a8e61277635446b72d8d170d7d64ecabf94c2f857778'
,
binary_sha256
({
aarch64:
'
7260801b0b8a202d56853c8ca65c30918a7a67e5eea2ca500b2373f276f5d590
'
,
armv7l:
'
7260801b0b8a202d56853c8ca65c30918a7a67e5eea2ca500b2373f276f5d590
'
,
i686:
'
8bc8d6247fe663b33c9f318900ac96a851dce20845758dfa2f6c44cd16add93d
'
,
x86_64:
'
5cfce5981ae0c1d388f6d716cc6205485877c593bee96ff44005ed0fba0c6fc3'
})
def
self
.
build
system
"./configure \
system
"env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure \
#{
CREW_OPTIONS
}
"
system
"make"
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/bin/mawk"
,
"
#{
CREW_DEST_PREFIX
}
/bin/awk"
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