Minor refactorization inspired by xtensor's recipe
+{% set name = "libsemigroups" %}
{% set version = "0.2.0" %}
+{% set md5 = "816a83528d21a6f9cc72a337e9a359ab" %}
{% set repo = "https://github.com/james-d-mitchell/libsemigroups" %}
{% set home = "https://james-d-mitchell.github.io/libsemigroups/" %}
package:
- name: libsemigroups
+ name: {{ name|lower }}
version: {{ version }}
source:
- url: {{ repo }}/releases/download/v{{ version }}/libsemigroups-{{ version }}.tar.gz
- md5: 816a83528d21a6f9cc72a337e9a359ab
+ url: {{ repo }}/releases/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz
+ md5: {{ md5 }}
#git_rev: v{{ version }}
#git_url: {{ repo }}.git
#git_tag: autotools
