summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-05-06 22:42:26 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-05-06 22:42:26 +0100
commit6961e75c7d071fb1f2f646fcd2266e1e1e29df8d (patch)
tree483e2c824a50cb9a5caf7c0a1a40757bead67bcf /vars
parent02d6fd66ffe80ff7e77e4df7cb90b269a70884a7 (diff)
downloadmidipix_build-6961e75c7d071fb1f2f646fcd2266e1e1e29df8d.tar.bz2
midipix_build-6961e75c7d071fb1f2f646fcd2266e1e1e29df8d.tar.xz
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.
Diffstat (limited to 'vars')
-rw-r--r--vars/autoconf_2_64_host.vars21
-rw-r--r--vars/automake_1_11_6_host.vars29
2 files changed, 50 insertions, 0 deletions
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