PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/core/cmake/PAGBUILD.yaml main

56 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
pkgname: cmake
pkgver: '4.4.4'
pkgrel: 1
pkgdesc: A cross-platform open-source make system
url: 'https://www.cmake.org/'
arch: x86_64
license:
- custom
# Zależności runtime WYNIKAJĄCE z NEEDED binarek pakietu (objdump -p), nie z listy
# makedepends: cmake/cpack linkują z tymi bibliotekami, a w obrazie ISO ich nie ma
# – sprawdzone: bez nich pakiet nie startuje („cmake: error while loading shared
# libraries: librhash.so.1”). Wcześniej w depends był tylko rhash.
#   librhash.so.1  -> rhash
#   libuv.so.1     -> libuv
#   libjsoncpp.so.27 -> jsoncpp
# Bramka ABI (check-pag-abi.sh) wykryla to jako 545 nierozwiazanych symboli.
depends:
- rhash
- libuv
- jsoncpp
- curl
- expat
- libarchive
- ncurses
makedepends:
- ncurses
- expat
- libuv
- curl
- libarchive
- jsoncpp
- rhash
source:
- 'https://www.cmake.org/files/v4.4/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
  cd ${pkgname}-${pkgver}
  sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake

  ./bootstrap --prefix=/usr \
  --mandir=/share/man \
  --system-libs \
  --no-system-cppdap   \
  --docdir=/share/doc/cmake

  make

  make DESTDIR=${PKGDIR} install

  install -Dm644 LICENSE.rst ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.rst
  install -Dm644 Licenses/LGPLv2.1.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LGPLv2.1.txt
  install -Dm644 Licenses/LGPLv3.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LGPLv3.txt
  install -Dm644 Licenses/README.rst ${PKGDIR}/usr/share/licenses/${pkgname}/README.rst
package: |
  true