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
3494d1f1
Commit
3494d1f1
authored
Jan 27, 2021
by
satmandu
Committed by
GitHub
Jan 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update libzip.rb (#5033)
parent
688aa07a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
26 deletions
+22
-26
packages/libzip.rb
packages/libzip.rb
+22
-26
No files found.
packages/libzip.rb
View file @
3494d1f1
...
...
@@ -3,47 +3,43 @@ require 'package'
class
Libzip
<
Package
description
'libzip is a C library for reading, creating, and modifying zip archives.'
homepage
'https://libzip.org/'
version
'1.7.3'
version
'1.7.3
-1
'
compatibility
'all'
source_url
'https://libzip.org/download/libzip-1.7.3.tar.xz'
source_sha256
'a60473ffdb7b4260c08bfa19c2ccea0438edac11193c3afbbb1f17fbcf6c6132'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3-1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3-1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3-1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libzip-1.7.3-1
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'a8cc96f1befee6a3d4967aa7fa41e691b1cfd564405286214fc9a12ae6ff19e6
'
,
armv7l:
'a8cc96f1befee6a3d4967aa7fa41e691b1cfd564405286214fc9a12ae6ff19e6
'
,
i686:
'aa4656edce164335ee023fb7af32b135a3ecc733c2a353550a9e325602ac79f6
'
,
x86_64:
'bdf0fe0f8dbaa87a70b678cc5aa3730ae7c8b4fc684ab8c499e947b999f7bb6b
'
,
aarch64:
'816fc0aa5940b01c94631f6d4215b2e8990738a51022fe7e7094fa471afd50ff
'
,
armv7l:
'816fc0aa5940b01c94631f6d4215b2e8990738a51022fe7e7094fa471afd50ff
'
,
i686:
'75cd419eba9935ab1d6580fce78788b1564099f0443ad611de3e236c3b02981a
'
,
x86_64:
'dd16146327e8c8a91d0cdd5b1f2c776657bda33697c2a9e216e6804c115ac06c
'
,
})
depends_on
'bz2'
def
self
.
build
Dir
.
mkdir
'build'
Dir
.
chdir
'build'
do
system
'cmake'
,
"-DCMAKE_INSTALL_PREFIX=
#{
CREW_PREFIX
}
"
,
"-DCMAKE_INSTALL_LIBDIR=
#{
ARCH_LIB
}
"
,
'-DCMAKE_BUILD_TYPE=Release'
,
'..'
system
'make'
end
end
def
self
.
install
Dir
.
chdir
'build'
do
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
Dir
.
mkdir
'builddir'
Dir
.
chdir
'builddir'
do
system
"env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
cmake \
-G Ninja \
#{
CREW_CMAKE_OPTIONS
}
\
.."
system
'ninja'
end
end
def
self
.
check
Dir
.
chdir
'build'
do
system
"make"
,
"check"
system
"ninja -C builddir test"
end
def
self
.
install
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja -C builddir 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