forked from ports/contrib
24 lines
588 B
Plaintext
24 lines
588 B
Plaintext
# Description: Light-weight, simple and fast XML parser for C++ with XPath support
|
|
# URL: http://pugixml.org
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Packager: Pedja, predivan at mts dot rs
|
|
# Depends on: cmake
|
|
|
|
name=pugixml
|
|
version=1.10
|
|
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 \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=ON ../
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|