ports/contrib (3.5): pugixml: updated cmake syntax
commit efe6048f77f3501c75152a8a6285e150bbfbd287 Author: Tim Biermann <tbier@posteo.de> Date: Mon Jun 1 14:54:48 2020 +0000 pugixml: updated cmake syntax diff --git a/pugixml/.signature b/pugixml/.signature index eec3611a0..9a2d30fbb 100644 --- a/pugixml/.signature +++ b/pugixml/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/p8KmNefe597YNfDj3857hEJHlJ3A/BkQa00IWJx37U0KBl9zphao5+694rWB/2pwRl6BPDmu+Ae1f8m2uwqAk= -SHA256 (Pkgfile) = 4900ab6a52ce4b36abab2c47966954928137b397287f2a518d2d6739e75368e4 +RWSagIOpLGJF36c97ZMyWwCLdPLKr7ZXDS1EvFRGAF++i83rmHPW6ZjcS9weE5rAq66DoNoktgzl2DbE1STyTUBsoXvvmhgs6gA= +SHA256 (Pkgfile) = 576d912308c1bf38de7f11a2ef02e726de53aff65671599cdbc9d3158b4a3360 SHA256 (.footprint) = 74da7330ff4c0c28b8154ea9b835616c23adcc2c1554994577e1d96c8cfc2509 SHA256 (pugixml-1.10.tar.gz) = 55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a diff --git a/pugixml/Pkgfile b/pugixml/Pkgfile index 6918cdef4..0fbbe920c 100644 --- a/pugixml/Pkgfile +++ b/pugixml/Pkgfile @@ -1,7 +1,6 @@ # Description: Light-weight, simple and fast XML parser for C++ with XPath support -# URL: http://pugixml.org +# URL: https://pugixml.org # Maintainer: Tim Biermann, tbier at posteo dot de -# Packager: Pedja, predivan at mts dot rs # Depends on: cmake name=pugixml @@ -10,14 +9,11 @@ release=1 source=(http://github.com/zeux/pugixml/releases/download/v$version/$name-$version.ta...) build() { - cd $name-$version - - mkdir -p build && cd build - cmake \ + cmake -S$name-$version -Bbuild -GNinja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=ON ../ - make - make DESTDIR=$PKG install + cmake --build build + DESTDIR=$PKG cmake --build build --target install }
participants (1)
-
crux@crux.nu