-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e44040e
commit fda78d1
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -e | ||
set -x | ||
|
||
mkdir build | ||
cd build | ||
|
||
cmake .. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=TRUE \ | ||
-DCMAKE_INSTALL_LIBDIR=lib \ | ||
-DPUGIXML_BUILD_TESTS=OFF | ||
|
||
make -j $CPU_COUNT | ||
|
||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
context: | ||
version: "1.14" | ||
|
||
package: | ||
name: pugixml | ||
version: '{{ version }}' | ||
|
||
source: | ||
url: https://github.com/zeux/pugixml/archive/v{{ version }}.tar.gz | ||
sha256: 610f98375424b5614754a6f34a491adbddaaec074e9044577d965160ec103d2e | ||
|
||
build: | ||
number: 0 | ||
|
||
requirements: | ||
build: | ||
- "{{ compiler('cxx') }}" | ||
- cmake | ||
- make # [unix] | ||
|
||
# test: | ||
# commands: | ||
# - test -f "${PREFIX}/lib/libpugixml.a" # [unix] | ||
# - test -f "${PREFIX}/include/pugixml.hpp" # [unix] | ||
# - if not exist %LIBRARY_LIB%\\pugixml.lib exit 1 # [win] | ||
# - if not exist %LIBRARY_INC%\\pugiconfig.hpp exit 1 # [win] | ||
|
||
about: | ||
home: http://pugixml.org/ | ||
license: MIT | ||
license_family: MIT | ||
license_file: README.md | ||
summary: 'Light-weight, simple and fast XML parser for C++ with XPath support' | ||
description: | | ||
pugixml is a C++ XML processing library, which consists of a DOM-like interface | ||
with rich traversal/modification capabilities, an extremely fast XML parser which | ||
constructs the DOM tree from an XML file/buffer, and an XPath 1.0 implementation | ||
for complex data-driven tree queries. Full Unicode support is also available, with | ||
Unicode interface variants and conversions between different Unicode encodings | ||
(which happen automatically during parsing/saving) | ||
doc_url: http://pugixml.org/ | ||
dev_url: https://github.com/zeux/pugixml | ||
|
||
extra: | ||
recipe-maintainers: | ||
- DerThorsten | ||
- anutosh491 |