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

recipes/utils/benchmark/PAGBUILD.yaml main

30 lines Raw ← Back
123456789101112131415161718192021222324252627282930
pkgname: benchmark
pkgver: '1.10.0'
pkgrel: '1'
pkgdesc: A microbenchmark support library
url: 'https://github.com/google/benchmark'
arch: x86_64
depends: []
makedepends:
- cmake
source:
- 'https://github.com/google/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
  cd ${pkgname}-${pkgver}
  mkdir build && cd build
  cmake \
      -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_INSTALL_LIBDIR=lib \
      -DBUILD_SHARED_LIBS=ON \
      -DBENCHMARK_ENABLE_LTO=ON \
      -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
      -DBENCHMARK_ENABLE_TESTING=OFF \
      ..

    make
    make DESTDIR=${PKGDIR} install
package: |
  true