Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
2eeaaec0
Unverified
Commit
2eeaaec0
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
main/cmake: use bundled libarchive
parent
b380b3d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39304
[3.16] main/expat: security upgrade to 2.4.9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/cmake/APKBUILD
+11
-4
11 additions, 4 deletions
main/cmake/APKBUILD
with
11 additions
and
4 deletions
main/cmake/APKBUILD
+
11
−
4
View file @
2eeaaec0
...
...
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
cmake
pkgver
=
3.24.1
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Cross-platform, open-source make system"
url
=
"https://www.cmake.org/"
arch
=
"all"
...
...
@@ -11,12 +11,12 @@ makedepends="
bzip2-dev
curl-dev
expat-dev
libarchive-dev
libuv-dev
linux-headers
ncurses-dev
py3-sphinx
rhash-dev
samurai
xz-dev
zlib-dev
"
...
...
@@ -37,6 +37,11 @@ build() {
# dependency, we use the bundled version of jsoncpp.
# Do NOT remove --no-system-jsoncpp unless you consulted
# maintainer
# no-system-libarchive is to work around a circle with zstd,
# cmake -> libarchive -> zstd -> cmake
# zstd needs cmake to generate .cmake files that everything seems to need
# these days
./bootstrap
\
--prefix
=
/usr
\
--mandir
=
/share/man
\
...
...
@@ -44,9 +49,11 @@ build() {
--docdir
=
/share/doc/
$pkgname
\
--sphinx-man
\
--system-libs
\
--no-system-libarchive
\
--no-system-jsoncpp
\
--generator
=
Ninja
\
--parallel
=
"
${
JOBS
:-
2
}
"
make
ninja
}
check
()
{
...
...
@@ -54,7 +61,7 @@ check() {
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
DESTDIR
=
"
$pkgdir
"
ninja
install
}
sha512sums
=
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment