meta.yaml.template 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {% set name = "libedit" %}
  2. {% set version = "3.1" %}
  3. {% set date = "20221030" %}
  4. {% set sha256 = "f0925a5adf4b1bf116ee19766b7daa766917aec198747943b1c4edf67a4be2bb" %}
  5. package:
  6. name: {{ name|lower }}
  7. version: {{ version }}.{{ date }}
  8. source:
  9. fn: {{ name }}-{{ date }}-{{ version }}.tar.gz
  10. #url: https://github.com/AnacondaRecipes/libedit-feedstock/releases/download/source/{{ name }}-{{ date }}-{{ version }}.tar.gz
  11. url: https://thrysoee.dk/editline/{{ name }}-{{ date }}-{{ version }}.tar.gz
  12. sha256: {{ sha256 }}
  13. patches:
  14. - 0001-prefer-tinfo-over-curses-and-termcap.patch
  15. build:
  16. number: 0
  17. skip: True # [win]
  18. run_exports:
  19. # no info available. Guessing at x.x. Change if you know better.
  20. - {{ pin_subpackage('libedit', max_pin='x.x') }}
  21. requirements:
  22. build:
  23. - {{ compiler('c') }}
  24. - autoconf
  25. - automake
  26. - m4
  27. - make
  28. - patch
  29. - perl 5.*
  30. - pkg-config
  31. host:
  32. - ncurses
  33. run:
  34. - ncurses
  35. test:
  36. commands:
  37. - test -f $PREFIX/lib/pkgconfig/libedit.pc # [unix]
  38. - test -f $PREFIX/lib/libedit.dylib # [osx]
  39. - test -f $PREFIX/lib/libedit.so # [linux]
  40. about:
  41. home: https://thrysoee.dk/editline/
  42. license: BSD-2-Clause
  43. license_family: BSD
  44. license_file: COPYING
  45. summary: Editline Library (libedit)
  46. description: |
  47. This is an autotool- and libtoolized port of the NetBSD Editline library
  48. (libedit). This Berkeley-style licensed command line editor library provides
  49. generic line editing, history, and tokenization functions, similar to those
  50. found in GNU Readline
  51. doc_url: https://thrysoee.dk/editline/
  52. # dev_url not found.
  53. extra:
  54. recipe-maintainers:
  55. - djsutherland
  56. - scopatz
  57. - mingwandroid