cmake: add man pages as a soft dependency

This commit is contained in:
Danny Rawlins 2021-01-31 22:17:15 +11:00
parent a6d16eacda
commit 30163737aa
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/cpn2auJygP1uYkZ3cxGsB+aws1+PA3DNSV3vJHDum3eG5NMJAYm9bMiYnJQwpwSNfl7+EZRm64wykY9MChSqAI=
SHA256 (Pkgfile) = 67c90cd0fd6d28f0c8bfc52ea078f10b287decdaf77a3713058c4374dd0ba4d2
RWSE3ohX2g5d/R9ySh5PdGtqQXV65LJggYIqTAG5R0P66zwvikioV1w2t3MsuRGES25jcUP398wG2KR13gNzZOyPoZtAJMFl6wA=
SHA256 (Pkgfile) = d34574b52793acedbcab2e8ed5ec5e64b6fe8dcc7ee06046f6e6e45982b556dd
SHA256 (.footprint) = 0179b43d9d9165315d3e53f00ecc34a1d8747b39cf7591b8ce399195185973f1
SHA256 (cmake-3.19.4.tar.gz) = 7d0232b9f1c57e8de81f38071ef8203e6820fe7eec8ae46a1df125d88dbcc2e1

View File

@ -2,6 +2,7 @@
# URL: http://www.cmake.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: curl libarchive expat ncurses
# Optional: python3-sphinx
name=cmake
version=3.19.4
@ -23,7 +24,9 @@ build() {
--system-libarchive \
--system-zstd \
--no-system-librhash \
--parallel=${JOBS:-1}
--parallel=${JOBS:-1} \
$(prt-get isinst python3-sphinx >/dev/null && echo --sphinx-man)
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{doc,share/cmake/Help}