Skip to content
Snippets Groups Projects
Unverified Commit 2eeaaec0 authored by alice's avatar alice
Browse files

main/cmake: use bundled libarchive

parent b380b3d9
No related branches found
No related tags found
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
......@@ -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="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment