diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-08 12:16:38 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-08 13:41:14 +0000 |
commit | c6f72fff668c4ac741466954fcf659d3edb39235 (patch) | |
tree | 2a23939210c29093f9344f84ccbf4818181808fe /quazip5 | |
parent | ff7352ae9d542dd15c06412527c5067872a4406a (diff) | |
download | contrib-c6f72fff668c4ac741466954fcf659d3edb39235.tar.gz contrib-c6f72fff668c4ac741466954fcf659d3edb39235.tar.xz |
quazip5: updated cmake syntax
Diffstat (limited to 'quazip5')
-rw-r--r-- | quazip5/.signature | 4 | ||||
-rw-r--r-- | quazip5/Pkgfile | 13 |
2 files changed, 9 insertions, 8 deletions
diff --git a/quazip5/.signature b/quazip5/.signature index 0bce63d18..85dec8f54 100644 --- a/quazip5/.signature +++ b/quazip5/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF39HaWm6ppqtJdun2LIwIvv/yl26w1mVtd+hJ2PFOve3QZHBURu8idqe/65nvBMEodcHhwhSsmkCI3qUiZ+zyzAs= -SHA256 (Pkgfile) = d29b6b76fe7d7b278b9665631fc4ca2d1156986e007c9a971d44b530f075eef6 +RWSagIOpLGJF3/6WLhyG1U4EIgofwwEH7fHF8EVGuaAyTfceX0ddKYH+S0tBV3HNKfC3i0q2SVvegQLyJ+0jsBl2gn1H79HXdQ0= +SHA256 (Pkgfile) = f830f4ae2d481b619cfc0b1e83ce5c2530c76640952c037d1ee7d8c2bf7404bd SHA256 (.footprint) = ca63c89c8f7844a6638b108e627b62071f0e182ab1f58914608149eff4c5aabe SHA256 (quazip5-1.1.tar.gz) = 54edce9c11371762bd4f0003c2937b5d8806a2752dd9c0fd9085e90792612ad0 diff --git a/quazip5/Pkgfile b/quazip5/Pkgfile index 0954c9b11..03184f2d8 100644 --- a/quazip5/Pkgfile +++ b/quazip5/Pkgfile @@ -9,12 +9,13 @@ release=2 source=(https://github.com/stachenov/quazip/archive/v$version/$name-$version.tar.gz) build() { - cmake -Squazip-$version -Bbuild -GNinja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ - -DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" + cmake -S quazip-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -Wno-dev cmake --build build DESTDIR=$PKG cmake --install build } |