summaryrefslogtreecommitdiffhomepage
path: root/300.bzip2.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-03-05 19:10:22 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-03-05 19:31:59 +0000
commitb8dc4b98a1ad4cc8b0f2bceca817a6dfa20da341 (patch)
tree160f02c763137d7973e0f6d85293fc94bb1e2c00 /300.bzip2.vars
parent7c6f2c010fa1b1d2c5f0c416c45294ff36d96d24 (diff)
downloadmidipix_build-b8dc4b98a1ad4cc8b0f2bceca817a6dfa20da341.tar.bz2
midipix_build-b8dc4b98a1ad4cc8b0f2bceca817a6dfa20da341.tar.xz
- Followup to last commit.
- Fixed bzip2 and musl (libc) installation wrt. $PREFIX_LVL/bin/{bz*,ldd} symlinks (reported by avih.)
Diffstat (limited to '300.bzip2.vars')
-rw-r--r--300.bzip2.vars15
1 files changed, 15 insertions, 0 deletions
diff --git a/300.bzip2.vars b/300.bzip2.vars
new file mode 100644
index 00000000..0dfccc15
--- /dev/null
+++ b/300.bzip2.vars
@@ -0,0 +1,15 @@
+#
+# . ./build.vars and set -o errexit are assumed.
+#
+
+pkg_bzip2_install_post() {
+ set -- bzcmp bzegrep bzfgrep bzless;
+ while [ ${#} -gt 0 ]; do
+ [ -f ${PKG_PREFIX}/bin/${1} ] &&\
+ ln -sf $(basename $(readlink ${PKG_PREFIX}/bin/${1}))\
+ ${PKG_PREFIX}/bin/${1};
+ shift;
+ done;
+};
+
+# vim:filetype=sh