From e1a4743914675267e94b3510bea6d8c8c357a32e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 7 May 2021 19:51:08 +0100 Subject: vars/autoconf_2_64_host.vars: updated. subr.rtl/rtl_install.subr: implements -* (rm,) !*=* (mv,) m[0-7]{4}= (chmod,) and o*=* (chown.) --- vars/autoconf_2_64_host.vars | 46 +++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'vars') diff --git a/vars/autoconf_2_64_host.vars b/vars/autoconf_2_64_host.vars index 35a17bb7..31166de1 100644 --- a/vars/autoconf_2_64_host.vars +++ b/vars/autoconf_2_64_host.vars @@ -2,14 +2,37 @@ # set +o errexit -o noglob -o nounset is assumed. # -pkg_autoconf_2_64_host_install_make_post() { +: ${PKG_AUTOCONF_2_64_HOST_INSTALL_FILES:=" \ + /=libexec/autoconf-2.64 \ + !bin/autoconf=libexec/autoconf-2.64/ \ + !bin/autoheader=libexec/autoconf-2.64/ \ + !bin/autom4te=libexec/autoconf-2.64/ \ + !bin/autoreconf=libexec/autoconf-2.64/ \ + !bin/autoscan=libexec/autoconf-2.64/ \ + !bin/autoupdate=libexec/autoconf-2.64/ \ + !bin/ifnames=libexec/autoconf-2.64/ \ + !share/autoconf-2.64/autom4te.cfg=share/autoconf/ \ + -share/autoconf-2.64/ \ + !share/autoconf=share/autoconf-2.64/ \ + -share/info/dir \ + !share/info/autoconf.info=share/info/autoconf-2.64.info \ + !share/info/standards.info=share/info/standards-2.64.info \ + !share/man/man1/autoconf.1=share/man/man1/autoconf-2.64.1 \ + !share/man/man1/autoheader.1=share/man/man1/autoheader-2.64.1 \ + !share/man/man1/autom4te.1=share/man/man1/autom4te-2.64.1 \ + !share/man/man1/autoreconf.1=share/man/man1/autoreconf-2.64.1 \ + !share/man/man1/autoscan.1=share/man/man1/autoscan-2.64.1 \ + !share/man/man1/autoupdate.1=share/man/man1/autoupdate-2.64.1 \ + !share/man/man1/config.guess.1=share/man/man1/config.guess-2.64.1 \ + !share/man/man1/config.sub.1=share/man/man1/config.sub-2.64.1 \ + !share/man/man1/ifnames.1=share/man/man1/ifnames-2.64.1 \ +"}; + +pkg_autoconf_2_64_host_install_files_post() { local _bin_fname="" _fname=""; - rtl_fileop mkdir "${PKG_DESTDIR}/libexec/autoconf-${PKG_VERSION}" || return 1; - for _bin_fname in \ - $(find "${PKG_DESTDIR}/bin" -type f -perm /0111); do - rtl_fileop mv "${_bin_fname}" "${PKG_DESTDIR}/libexec/autoconf-${PKG_VERSION}" || return 1; - cat >"${_bin_fname}-${PKG_VERSION}" <"${PKG_DESTDIR}/bin/${_bin_fname##*/}-${PKG_VERSION}" <