meta.yaml 1.36 KB
Newer Older
André Anjos's avatar
André Anjos committed
1
{% set version = "0.9.21" %}
Amir Mohammadi's avatar
Amir Mohammadi committed
2 3 4 5 6 7 8 9

package:
  name: vlfeat
  version: {{ version }}

source:
  fn: vlfeat-{{ version }}-bin.tar.gz
  url: http://www.vlfeat.org/download/vlfeat-{{ version }}-bin.tar.gz
André Anjos's avatar
André Anjos committed
10
  sha1: 466e345b8f6b69a4465ada0994d945da79785c3e
Amir Mohammadi's avatar
Amir Mohammadi committed
11 12 13 14 15 16 17 18

  patches:
    - no_crt_copy.patch    # [win]
    - no_snprintf.patch    # [win and py35]
    - vs2010_openmp.patch  # [win and py34]
    - vs2010_path.patch    # [win64 and py34]

build:
André Anjos's avatar
André Anjos committed
19
  number: 0
André Anjos's avatar
André Anjos committed
20
  run_exports:
André Anjos's avatar
André Anjos committed
21
    - {{ pin_subpackage('vlfeat', max_pin='x.x.x') }}
Amir Mohammadi's avatar
Amir Mohammadi committed
22 23 24 25 26 27 28 29
  features:
    - vc9     # [win and py27]
    - vc10    # [win and py34]
    - vc14    # [win and py35]

requirements:
  build:
    - python  # [win]
30
    - {{ compiler('c') }}
Amir Mohammadi's avatar
Amir Mohammadi committed
31 32 33 34 35

test:
  requires:
    - python  # [win]

36
  commands:
Amir Mohammadi's avatar
Amir Mohammadi committed
37 38 39 40 41 42
    - sift -h
    - mser -h
    - aib -h
    - if not exist %PREFIX%\\Library\\bin\\vl.dll exit 1  # [win]
    - test -f $PREFIX/lib/libvl.dylib                     # [osx]
    - test -f $PREFIX/lib/libvl.so                        # [linux]
43 44
    - conda inspect linkages -p $PREFIX vlfeat  # [not win]
    - conda inspect objects -p $PREFIX vlfeat  # [osx]
Amir Mohammadi's avatar
Amir Mohammadi committed
45 46 47 48 49 50 51 52 53 54

about:
  home: http://www.vlfeat.org/
  summary: The VLFeat open source library implements popular computer vision algorithms specializing in image understanding and local features extraction and matching.
  license: BSD 2-Clause

extra:
  recipe-maintainers:
    - patricksnape
    - 183amir