Skip to content

Commit

Permalink
add rb-ttfunk
Browse files Browse the repository at this point in the history
  • Loading branch information
jdmarques committed Dec 24, 2024
1 parent a430cf4 commit 4b69698
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/ttfunk/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ruby:
- 2.7
- 3.1
- 3.2
- 3.3
42 changes: 42 additions & 0 deletions recipes/ttfunk/meta.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4b69698

Please sign in to comment.