{% set author = "RJBS" %}
{% set name = "Text-Soundex" %}
{% set version = "3.05" %}
{% set sha256 = "f6dd55b4280b25dea978221839864382560074e1d6933395faee2510c2db60ed" %}


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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: http://cpan.metacpan.org/authors/id/{{ author[0] }}/{{ author[:2] }}/{{ author }}/{{ name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: perl Makefile.PL --no-xs && make && make test && make install

requirements:
  build:
    - perl
    - make
  run:
    - perl

test:
  commands:
    - perl -e 'use {{ name|replace("-","::") }}'

about:
  home: https://metacpan.org/release/Text-Soundex
  license: Artistic-2.0
  license_file: LICENSE
  summary: 'Implementation of the soundex algorithm.'

  description: |
    Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. 
    The goal is for names with the same pronunciation to be encoded to the same representation 
    so that they can be matched despite minor differences in spelling. Soundex is the most 
    widely known of all phonetic algorithms and is often used (incorrectly) as a synonym for
    "phonetic algorithm". Improvements to Soundex are the basis for many modern phonetic 
    algorithms. (Wikipedia, 2007)
  doc_url: https://metacpan.org/pod/Text::Soundex

extra:
  recipe-maintainers:
    - pvanheus

Implement recipe for Text::Soundex Perl module
Implement recipe for Text::Soundex Perl module
