Address comments, hopefully fix Linux build, also test for CMake config file
@@ -14,28 +14,26 @@ build:
requirements:
build:
- # If your project compiles code (such as a C extension) then add the required compilers as separate entries here.
- # Compilers are named 'c', 'cxx' and 'fortran'.
- {{ compiler('c') }}
+ # Even though uriparser is pure C, its CMakeLists.txt declares it as a C++ project
+ - {{ compiler('cxx') }}
- cmake
- ninja
test:
commands:
- test -f $PREFIX/lib/liburiparser.a # [not win]
+ - test -f $PREFIX/lib/cmake/uriparser-{{ version }}/uriparser.cmake # [not win]
- if not exist %PREFIX%\\Library\\lib\\uriparser.lib exit 1 # [win]
+ - if not exist %PREFIX%\\Library\\lib\\cmake\\uriparser-{{ version }}\\uriparser.cmake exit 1 # [win]
about:
home: https://uriparser.github.io/
license: BSD-3-Clause
license_family: BSD
- # It is strongly encouraged to include a license file in the package,
- # (even if the license doesn't require it) using the license_file entry.
- # See http://conda.pydata.org/docs/building/meta-yaml.html#license-file
license_file: COPYING
summary: 'RFC 3986 compliant URI parsing and handling library written in C89'
- # The remaining entries in this section are optional, but recommended.
description: |
uriparser is a strictly RFC 3986 compliant URI parsing and handling
library written in C89 ("ANSI C"). uriparser is cross-platform, fast,
