From ae02ff8a59843a2c77737650d18fa36d0f2f5e08 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 12 Jul 2013 22:27:21 -0300 Subject: cross-binutils: adding and fixing the *.install files --- .../aarch64-unknown-linux-gnu-binutils-multilib.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install (limited to '~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install') diff --git a/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install b/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install new file mode 100644 index 000000000..6f986cd41 --- /dev/null +++ b/~coadde/cross-binutils/aarch64-unknown-linux-gnu-binutils-multilib.install @@ -0,0 +1,16 @@ +_pkgname=aarch64-unknown-linux-gnu-binutils-multilib + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} -- cgit v1.2.3-54-g00ecf