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
10718928
Commit
10718928
authored
Aug 05, 2018
by
Ed Reel
Committed by
Chris Thurber
Aug 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update crew to provide support for lzip compressed source code (#2505)
* Update crew to support lzip compressed source code
parent
193931d3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
crew
crew
+3
-2
lib/const.rb
lib/const.rb
+1
-1
packages/buildessential.rb
packages/buildessential.rb
+12
-9
tools/core_packages.txt
tools/core_packages.txt
+1
-0
No files found.
crew
View file @
10718928
...
...
@@ -438,7 +438,8 @@ def unpack (meta)
Dir
.
chdir
CREW_BREW_DIR
do
puts
"Unpacking archive, this may take awhile..."
Dir
.
mkdir
(
"#{extract_dir}"
)
unless
Dir
.
exist
?(
"#{extract_dir}"
)
if
meta
[:
filename
][-
4
,
4
]
==
".zip"
case
File
.
extname
meta
[:
filename
]
when
'.zip'
if
@
opt_verbose
then
system
"unzip"
,
"-v"
,
"-d"
,
"#{extract_dir}"
,
meta
[:
filename
]
else
...
...
@@ -579,7 +580,7 @@ def install_package (pkgdir)
strip_find_files
"find . -type f -name 'lib*.so*' -print"
,
"-S"
#
Strip
binaries
but
not
compressed
archives
strip_find_files
"find . -type f ! -iname '*\.bz2' ! -iname '*\.gz' ! -iname '*\.lha' ! -iname '*\.rar' ! -iname '*\.tar' ! -iname '*\.tgz' ! -iname '*\.xz' ! -iname '*\.zip' -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d'"
strip_find_files
"find . -type f ! -iname '*\.bz2' ! -iname '*\.gz' ! -iname '*\.lha' ! -iname '*\.
lz' ! -iname '*\.
rar' ! -iname '*\.tar' ! -iname '*\.tgz' ! -iname '*\.xz' ! -iname '*\.zip' -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d'"
if
@
opt_verbose
then
system
"tar cvf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)"
...
...
lib/const.rb
View file @
10718928
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.0.
1
'
CREW_VERSION
=
'1.0.
2
'
ARCH
=
`uname -m`
.
strip
ARCH_LIB
=
if
ARCH
==
'x86_64'
then
'lib64'
else
'lib'
end
...
...
packages/buildessential.rb
View file @
10718928
...
...
@@ -3,7 +3,7 @@ require 'package'
class
Buildessential
<
Package
description
'A collection of tools essential to compile and build software.'
homepage
''
version
'1.
2
'
version
'1.
3
'
is_fake
...
...
@@ -27,7 +27,7 @@ class Buildessential < Package
# override the system version with sandbox mode enabled
depends_on
'sed'
# typically required librar
y
to compile source code using "./autogen.sh"
# typically required librar
ies
to compile source code using "./autogen.sh"
depends_on
'automake'
depends_on
'libtool'
depends_on
'intltool'
...
...
@@ -37,10 +37,13 @@ class Buildessential < Package
depends_on
'flex'
depends_on
'util_macros'
depends_on
'gettext'
depends_on
'wget'
# in some case, some patches might be required and can be downloaded using wget
depends_on
'wget'
# in some cases, patches might be required and can be downloaded using wget
depends_on
'gawk'
# compression utilities
depends_on
'lzip'
depends_on
'unzip'
depends_on
'zip'
depends_on
'gawk'
# cmake
depends_on
'cmake'
...
...
tools/core_packages.txt
View file @
10718928
...
...
@@ -30,6 +30,7 @@ libunbound
libunistring
libxml2
linuxheaders
lzip
m4
make
most
...
...
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