summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/autoconf_2_64_host.vars46
1 files changed, 30 insertions, 16 deletions
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}" <<EOF
+ for _bin_fname in $(find "${PKG_DESTDIR}/libexec/autoconf-${PKG_VERSION}" -type f -perm /0111); do
+ cat >"${PKG_DESTDIR}/bin/${_bin_fname##*/}-${PKG_VERSION}" <<EOF
#!/bin/sh
export ACLOCAL="\${ACLOCAL:-\${0%/*}/aclocal-1.11}";
export AC_MACRODIR="\${AC_MACRODIR:-\${0%/*}/../share/autoconf-${PKG_VERSION}}";
@@ -24,16 +47,7 @@ export LIBTOOLIZE="\${LIBTOOLIZE:-\${0%/*}/../libexec/autoconf-${PKG_VERSION}/li
exec "\${0%/*}/../libexec/autoconf-${PKG_VERSION}/${_bin_fname##*/}" "\${@}";
EOF
[ "${?}" -ne 0 ] && return 1;
- rtl_fileop chmod 0755 "${_bin_fname}-${PKG_VERSION}";
- done;
- rtl_fileop mv "${PKG_DESTDIR}/share/autoconf-${PKG_VERSION}/autom4te.cfg" "${PKG_DESTDIR}/share/autoconf" || return 1;
- rtl_fileop rm "${PKG_DESTDIR}/share/autoconf-${PKG_VERSION}";
- rtl_fileop mv "${PKG_DESTDIR}/share/autoconf" "${PKG_DESTDIR}/share/autoconf-${PKG_VERSION}";
- rtl_fileop rm "${PKG_DESTDIR}/share/info/dir" || return 1;
- 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##*.}" || return 1;
+ rtl_fileop chmod 0755 "${PKG_DESTDIR}/bin/${_bin_fname##*/}-${PKG_VERSION}" || return 1;
done;
};