From 4b696984d18e8458d298278dce055f955c49403c Mon Sep 17 00:00:00 2001 From: JoaoMarques Date: Mon, 23 Dec 2024 17:32:09 +0000 Subject: [PATCH] add rb-ttfunk --- recipes/ttfunk/conda_build_config.yaml | 5 +++ recipes/ttfunk/meta.yaml | 42 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 recipes/ttfunk/conda_build_config.yaml create mode 100644 recipes/ttfunk/meta.yaml diff --git a/recipes/ttfunk/conda_build_config.yaml b/recipes/ttfunk/conda_build_config.yaml new file mode 100644 index 0000000000000..6ee12e06ff2fb --- /dev/null +++ b/recipes/ttfunk/conda_build_config.yaml @@ -0,0 +1,5 @@ +ruby: +- 2.7 +- 3.1 +- 3.2 +- 3.3 \ No newline at end of file diff --git a/recipes/ttfunk/meta.yaml b/recipes/ttfunk/meta.yaml new file mode 100644 index 0000000000000..d4f04c0806fdf --- /dev/null +++ b/recipes/ttfunk/meta.yaml @@ -0,0 +1,42 @@ +{% set name = "ttfunk" %} +{% set version = "1.7.0" %} + +package: + name: rb-{{ name|lower }} + version: {{ version }} + +source: + - url: https://rubygems.org/downloads/{{ name }}-{{ version }}.gem + sha256: 2370ba484b1891c70bdcafd3448cfd82a32dd794802d81d720a64c15d3ef2a96 + +build: + noarch: generic + number: 0 + script: + - gem install -N -l -V --norc --ignore-dependencies -n $PREFIX/bin {{ name }}-{{ version }}.gem + - gem unpack {{ name }}-{{ version }}.gem + +requirements: + host: + - ruby + run: + - ruby + +test: + commands: + - ruby -r {{ name }} -e 'exit 0' + +about: + home: https://prawnpdf.org/ + license: GPL-2.0-or-later + license_family: GPL + license_file: {{ name }}-{{ version }}/LICENSE + summary: | + Font Metrics Parser for the Prawn PDF generator + description: + doc_url: https://prawnpdf.org/docs/{{ name }}/{{ version }} + dev_url: https://github.com/prawnpdf/{{ name }} + +extra: + recipe-maintainers: + - jdmarques