mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
53 lines
1 KiB
YAML
53 lines
1 KiB
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/texinfo/texinfo-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/texinfo/
|
|
match: /texinfo-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
strip:
|
|
- /texinfo-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
perl.org: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
gnu.org/gettext: '*'
|
|
invisible-island.net/ncurses: '*'
|
|
script: |
|
|
./configure --prefix={{ prefix }}
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
cd {{prefix}}/bin
|
|
for file in pod2texi texi2any; do
|
|
sed -i.bak "s_#! {{deps.perl.org.prefix}}/bin/perl_#!/usr/bin/env perl_" $file
|
|
rm $file.bak
|
|
done
|
|
|
|
test:
|
|
script: |
|
|
makeinfo $FIXTURE
|
|
grep -q 'Hello World!' $(basename $FIXTURE).info
|
|
fixture: |
|
|
@ifnottex
|
|
@node Top
|
|
@top Hello World!
|
|
@end ifnottex
|
|
@bye
|
|
|
|
provides:
|
|
- bin/info
|
|
- bin/install-info
|
|
- bin/makeinfo
|
|
- bin/pdftexi2dvi
|
|
- bin/pod2texi
|
|
- bin/texi2any
|
|
- bin/texi2dvi
|
|
- bin/texi2pdf
|
|
- bin/texindex
|
|
|