diff --git a/recipes/rotate/meta.yaml b/recipes/rotate/meta.yaml new file mode 100644 index 0000000000000..8f35476ccf607 --- /dev/null +++ b/recipes/rotate/meta.yaml @@ -0,0 +1,33 @@ +{% set name = "rotate" %} +{% set version = "1.0" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: "https://github.com/richarddurbin/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz" + sha256: "da8a3c848cc05d59b579c375824008dd2d533c28d8a436a6e4761312d2152906" + +build: + number: 0 + run_exports: + - {{ pin_subpackage("rotate", max_pin="x") }} + +requirements: + build: + - make + - {{ compiler('cxx') }} + host: + run: + +test: + commands: + - rotate 2>&1 | grep can + +about: + home: "https://github.com/richarddurbin/rotate" + license: MIT + license_family: MIT + license_file: LICENSE + summary: "Simple program to rotate a circular sequence to start at a given position or string."