print/texinfo: Add texinfo package

- MacOS systems do not come with makeinfo

- Fix the internal build logic. There was config logic in a
  bset file that does not support logic operators. Use a
  special tmp internal path to isolate the internal tools.
This commit is contained in:
Chris Johns
2023-04-11 21:18:25 +10:00
parent 78913bcbba
commit 4c73a76c80
9 changed files with 158 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
#
# GNU texinfo 7.0.3
#
%include %{_configdir}/base.cfg
%define texinfo_version 7.0.3
%hash sha512 texinfo-%{texinfo_version}.tar.gz \
uJXP+WVCInQgPxcWNogeOx5VfrmruXIwd6OnnpTgrcXW12Icuqe+R9PF1l/8k/uybwfb+0MMdFoYbq7iiIQGSA==
%include %{_configdir}/texinfo-1.cfg

View File

@@ -0,0 +1,11 @@
#
# Internal GNU texinfo
#
%define _internal_texinfo yes
%define _disable_collecting yes
%define _disable_packaging yes
%define _disable_reporting yes
%define _disable_installing yes
%include print/texinfo.bset

View File

@@ -0,0 +1,4 @@
#
# GNU texinfo
#
print/texinfo.cfg

View File

@@ -0,0 +1,8 @@
#
# GNU makeinfo has a version option, check for it.
# If not found build it.
#
%define has_makeinfo %(makeinfo --version > /dev/null 2>&1; echo $?)
%if %{has_makeinfo} != 0
%include %{_configdir}/print/texinfo-7.0.3.cfg
%endif

View File

@@ -2,10 +2,6 @@
# Internal GNU sed
#
%if !{defined _internal_gsed_path}
%error no gsed internal install path defined
%endif
%define _internal_gsed yes
%define _disable_collecting yes
%define _disable_packaging yes