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
Łukasz Nowak
chromebrew
Commits
ff96263e
Commit
ff96263e
authored
Jun 02, 2020
by
Casey Strouse
Committed by
GitHub
Jun 02, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4097 from uberhacker/add-libsolv-package
Add libsolv package
parents
4219f819
1eb67c16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
packages/libsolv.rb
packages/libsolv.rb
+49
-0
No files found.
packages/libsolv.rb
0 → 100644
View file @
ff96263e
require
'package'
class
Libsolv
<
Package
description
'Library for solving packages and reading repositories'
homepage
'https://en.opensuse.org/openSUSE:Libzypp_satsolver'
version
'0.7.14'
#compatibility 'all'
source_url
'https://github.com/openSUSE/libsolv/archive/0.7.14.tar.gz'
source_sha256
'34a67c23cedd38a949607d8cdbd867aa4b07556f18a57e17162ac962bbdbbf54'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libsolv-0.7.14-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libsolv-0.7.14-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libsolv-0.7.14-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libsolv-0.7.14-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'4a559dd64cbc0a45f291bb3b7b500bcb04119559987830df0066176fc48867a9'
,
armv7l:
'4a559dd64cbc0a45f291bb3b7b500bcb04119559987830df0066176fc48867a9'
,
i686:
'35f045613c622b24224117ef8e203fe37c6bdf36dff4b701ca8263214e1a4122'
,
x86_64:
'1c9062a1b1cc87345941eedb01d7aacd9f942c7924d81db8c52d77cde19a32ed'
,
})
depends_on
'lzma'
depends_on
'swig'
depends_on
'zstd'
def
self
.
build
Dir
.
mkdir
'build'
Dir
.
chdir
'build'
do
system
'cmake'
,
'-DCMAKE_BUILD_TYPE=Release'
,
"-DCMAKE_INSTALL_PREFIX=
#{
CREW_PREFIX
}
"
,
'-DENABLE_BZIP2_COMPRESSION=ON'
,
'-DENABLE_LZMA_COMPRESSION=ON'
,
'-DENABLE_ZSTD_COMPRESSION=ON'
,
'-DENABLE_PYTHON=ON'
,
'-DENABLE_RUBY=ON'
,
'..'
system
'make'
end
end
def
self
.
install
Dir
.
chdir
'build'
do
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
end
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