forked from ports/contrib
pugixml: updated cmake syntax
This commit is contained in:
parent
39a4cb0d6e
commit
efe6048f77
@ -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
|
||||
|
@ -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.tar.gz)
|
||||
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user