{% set name = "which" %}
{% set version = "2.21" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://carlowood.github.io/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - make

test:
  commands:
    - which --version
    - which which | grep ${CONDA_PREFIX}/bin/which

about:
  home: https://carlowood.github.io/which/
  license: GPL3
  license_file: COPYING
  summary: 'Shows the full path of (shell) commands'
  description: |
    Which takes one or more arguments. For each of its arguments it prints
    to stdout the full path of the executables that would have been exe-
    cuted when this argument had been entered at the shell prompt. It does
    this by searching for an executable or script in the directories listed
    in the environment variable PATH using the same algorithm as bash(1).

extra:
  recipe-maintainers:
    - teake

{% set name = "which" %}
{% set version = "2.21" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://carlowood.github.io/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - make

test:
  commands:
    - which --version
    - which which | grep ${CONDA_PREFIX}/bin/which

about:
  home: https://carlowood.github.io/which/
  license: GPL-3.0
  license_file: COPYING
  summary: 'Shows the full path of (shell) commands'
  description: |
    Which takes one or more arguments. For each of its arguments it prints
    to stdout the full path of the executables that would have been exe-
    cuted when this argument had been entered at the shell prompt. It does
    this by searching for an executable or script in the directories listed
    in the environment variable PATH using the same algorithm as bash(1).

extra:
  recipe-maintainers:
    - teake

Change license to be SPDX compliant
Change license to be SPDX compliant

Co-Authored-By: Chris Burr <636cc37a360f5d769f3c27d51b72763be8b10f28@users.noreply.github.com>