HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/pkgs/glog-0.5.0-hd77b12b_1/info/recipe/meta.yaml.template
{% set version = "0.5.0" %}

package:
  name: glog
  version: {{ version }}

source:
  fn: glog-{{ version }}.tar.gz
  url: https://github.com/google/glog/archive/v{{ version }}.tar.gz
  sha256: eede71f28371bf39aa69b45de23b329d37214016e2055269b3b5e7cfd40b59f5
  patches:
    # Work around clang bug that does not raise SIGFPE
    - 0001-Always-raise-SIGFPE.patch  # [osx]
    - 0003-Remove-non-existent-USAGE-level-from-tests.patch
    - 0004-Ignore-unmangled-cxx11-symbols.patch

build:
  number: 1
  missing_dso_whitelist:  # [s390x]
    - '$RPATH/ld64.so.1'  # [s390x]
  run_exports:
    # Recent releases have been stable
    # https://abi-laboratory.pro/index.php?view=timeline&l=glog
    - {{ pin_subpackage('glog', max_pin="x.x") }}

requirements:
  build:
    - cmake
    - ninja
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - patch       # [not win]
    - m2-patch    # [win]
  host:
    - gflags 2.2

test:
  commands:
    - test -f ${PREFIX}/lib/libglog${SHLIB_EXT}  # [unix]
    - if not exist %PREFIX%\\Library\\bin\\glog.dll exit 1  # [win]

about:
  home: https://github.com/google/glog
  license: BSD-3-Clause
  license_family: BSD
  license_file: COPYING
  summary: C++ implementation of the Google logging module.
  description: |
    Google Logging (glog) is a C++98 library that implements application-level logging. 
    The library provides logging APIs based on C++-style streams and various helper macros.
  doc_url: https://github.com/google/glog/
  dev_url: https://github.com/google/glog/

extra:
  recipe-maintainers:
    - jakirkham
    - xhochy