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
10a5aeeb
Commit
10a5aeeb
authored
Feb 23, 2021
by
saltedcoffii
Committed by
GitHub
Feb 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[New Package] civetweb (#5266)
* [New Package] civetweb
parent
15df5598
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
packages/civetweb.rb
packages/civetweb.rb
+34
-0
No files found.
packages/civetweb.rb
0 → 100644
View file @
10a5aeeb
require
'package'
class
Civetweb
<
Package
description
'Embedded C/C++ web server'
homepage
'https://github.com/civetweb/civetweb/'
version
'1.13'
compatibility
'all'
source_url
'https://github.com/civetweb/civetweb/archive/v1.13.tar.gz'
source_sha256
'a7ccc76c2f1b5f4e8d855eb328ed542f8fe3b882a6da868781799a98f4acdedc'
def
self
.
build
Dir
.
mkdir
"builddir"
Dir
.
chdir
"builddir"
do
system
"cmake -G 'Ninja'
#{
CREW_CMAKE_OPTIONS
}
\
-DBUILD_TESTING=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCIVETWEB_BUILD_TESTING=OFF \
-DCIVETWEB_ENABLE_LUA=OFF \
-DCIVETWEB_ENABLE_DUKTAPE=OFF \
-DCIVETWEB_ENABLE_CXX=ON \
-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=ON \
-DCIVETWEB_ENABLE_SSL=ON .."
system
"ninja"
end
end
def
self
.
install
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja -C builddir install"
end
def
self
.
check
system
"ninja -C builddir test"
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