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 --- ~coadde/cross-binutils/sh64-unknown-elf-binutils.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ~coadde/cross-binutils/sh64-unknown-elf-binutils.install (limited to '~coadde/cross-binutils/sh64-unknown-elf-binutils.install') diff --git a/~coadde/cross-binutils/sh64-unknown-elf-binutils.install b/~coadde/cross-binutils/sh64-unknown-elf-binutils.install new file mode 100644 index 000000000..04ee63c8c --- /dev/null +++ b/~coadde/cross-binutils/sh64-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=sh64-unknown-elf-binutils + +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