From 6961e75c7d071fb1f2f646fcd2266e1e1e29df8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 6 May 2021 22:42:26 +0100 Subject: groups/000.host_tools.group: adds autoconf_2_64_host v2.64 and automake_1_11_6_host v1.11.6. vars/auto{conf_2_64_host,make_1_11_6_host}.vars: added. --- vars/autoconf_2_64_host.vars | 21 +++++++++++++++++++++ vars/automake_1_11_6_host.vars | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 vars/autoconf_2_64_host.vars create mode 100644 vars/automake_1_11_6_host.vars (limited to 'vars') diff --git a/vars/autoconf_2_64_host.vars b/vars/autoconf_2_64_host.vars new file mode 100644 index 00000000..71ad75d8 --- /dev/null +++ b/vars/autoconf_2_64_host.vars @@ -0,0 +1,21 @@ +# +# set +o errexit -o noglob -o nounset is assumed. +# + +pkg_autoconf_2_64_host_install_make_post() { + local _fname=""; + + for _fname in \ + $(find "${PKG_DESTDIR}/bin" -type f -perm /0111) \ + "${PKG_DESTDIR}/share/autoconf" \ + "${PKG_DESTDIR}/share/info/dir"; do + rtl_fileop mv "${_fname}" "${_fname}-${PKG_VERSION}" || return 1; + done; + for _fname in \ + $(find "${PKG_DESTDIR}/share/man" -type f -name "*.[0-9]*") \ + $(find "${PKG_DESTDIR}/share/info" -type f -name "*.info*"); do + rtl_fileop mv "${_fname}" "${_fname%.*}-${PKG_VERSION}.${_fname##*.}"; + done; +}; + +# vim:filetype=sh textwidth=0 diff --git a/vars/automake_1_11_6_host.vars b/vars/automake_1_11_6_host.vars new file mode 100644 index 00000000..18586358 --- /dev/null +++ b/vars/automake_1_11_6_host.vars @@ -0,0 +1,29 @@ +# +# set +o errexit -o noglob -o nounset is assumed. +# + +pkg_automake_1_11_6_host_install_make_post() { + local _fname="" _fname_base=""; + + for _fname in $(find "${PKG_DESTDIR}/bin" -type f -perm /0111 -name "*-${PKG_VERSION%.*}"); do + _fname_base="${_fname##*/}"; + rtl_fileop ln_symbolic "${_fname_base%%-[0-9]*}-${PKG_VERSION}" "${_fname}"; + done; + for _fname in \ + $(find "${PKG_DESTDIR}/bin" -type f -perm /0111 -not -name "*-${PKG_VERSION%.*}") \ + "${PKG_DESTDIR}/share/doc/automake" \ + "${PKG_DESTDIR}/share/info/dir"; do + rtl_fileop mv "${_fname}" "${_fname}-${PKG_VERSION}" || return 1; + done; + for _fname in $(find "${PKG_DESTDIR}/share/man" -type f -name "*-${PKG_VERSION%.*}.[0-9]*"); do + _fname_base="${_fname##*/}"; + rtl_fileop ln_symbolic "${_fname_base%%-[0-9]*}-${PKG_VERSION}.${_fname_base##*.}" "${_fname}"; + done; + for _fname in \ + $(find "${PKG_DESTDIR}/share/man" -type f -name "*.[0-9]*" -not -name "*-${PKG_VERSION%.*}") \ + $(find "${PKG_DESTDIR}/share/info" -type f -name "*.info*"); do + rtl_fileop mv "${_fname}" "${_fname%.*}-${PKG_VERSION}.${_fname##*.}"; + done; +}; + +# vim:filetype=sh textwidth=0 -- cgit v1.2.3