summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
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