{% set version = "7.0.4" %}

package:
  name: ecm
  version: {{ version }}

source:
  fn: ecm-{{ version }}.tar.gz
  url: https://gforge.inria.fr/frs/download.php/latestfile/160/ecm-{{ version }}.tar.gz
  sha256: 0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43

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

requirements:
  build:
    - toolchain
    - m4
    - gmp
  run:
    - gmp

test:
  commands:
    - test -f $PREFIX/include/ecm.h
    - test -f $PREFIX/lib/libecm.a
    - test -f $PREFIX/lib/libecm.so         # [linux]
    - test -f $PREFIX/lib/libecm.dylib      # [osx]

about:
  home: https://gforge.inria.fr/projects/ecm/
  license: GPL v3 and LGPL v3
  license_file: COPYING
  summary: 'Elliptic Curve Method for Integer Factorization'

extra:
  recipe-maintainers:
    - isuruf

{% set version = "7.0.4" %}

package:
  name: ecm
  version: {{ version }}

source:
  fn: ecm-{{ version }}.tar.gz
  url: https://gforge.inria.fr/frs/download.php/latestfile/160/ecm-{{ version }}.tar.gz
  sha256: 0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43

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

requirements:
  build:
    - toolchain
    - autconf       # [linux]
    - m4
    - gmp
  run:
    - gmp

test:
  commands:
    - test -f $PREFIX/include/ecm.h
    - test -f $PREFIX/lib/libecm.a
    - test -f $PREFIX/lib/libecm.so         # [linux]
    - test -f $PREFIX/lib/libecm.dylib      # [osx]

about:
  home: https://gforge.inria.fr/projects/ecm/
  license: GPL v3 and LGPL v3
  license_file: COPYING
  summary: 'Elliptic Curve Method for Integer Factorization'

extra:
  recipe-maintainers:
    - isuruf

Add autoconf to linux build
Add autoconf to linux build
