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 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cmake pkgname=cmake
pkgver=3.24.1 pkgver=3.24.1
pkgrel=1 pkgrel=2
pkgdesc="Cross-platform, open-source make system" pkgdesc="Cross-platform, open-source make system"
url="https://www.cmake.org/" url="https://www.cmake.org/"
arch="all" arch="all"
...@@ -11,12 +11,12 @@ makedepends=" ...@@ -11,12 +11,12 @@ makedepends="
bzip2-dev bzip2-dev
curl-dev curl-dev
expat-dev expat-dev
libarchive-dev
libuv-dev libuv-dev
linux-headers linux-headers
ncurses-dev ncurses-dev
py3-sphinx py3-sphinx
rhash-dev rhash-dev
samurai
xz-dev xz-dev
zlib-dev zlib-dev
" "
...@@ -37,6 +37,11 @@ build() { ...@@ -37,6 +37,11 @@ build() {
# dependency, we use the bundled version of jsoncpp. # dependency, we use the bundled version of jsoncpp.
# Do NOT remove --no-system-jsoncpp unless you consulted # Do NOT remove --no-system-jsoncpp unless you consulted
# maintainer # 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 \ ./bootstrap \
--prefix=/usr \ --prefix=/usr \
--mandir=/share/man \ --mandir=/share/man \
...@@ -44,9 +49,11 @@ build() { ...@@ -44,9 +49,11 @@ build() {
--docdir=/share/doc/$pkgname \ --docdir=/share/doc/$pkgname \
--sphinx-man \ --sphinx-man \
--system-libs \ --system-libs \
--no-system-libarchive \
--no-system-jsoncpp \ --no-system-jsoncpp \
--generator=Ninja \
--parallel="${JOBS:-2}" --parallel="${JOBS:-2}"
make ninja
} }
check() { check() {
...@@ -54,7 +61,7 @@ check() { ...@@ -54,7 +61,7 @@ check() {
} }
package() { package() {
make DESTDIR="$pkgdir" install DESTDIR="$pkgdir" ninja install
} }
sha512sums=" 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