summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-13 01:48:00 -0700
committerroot <root@rshg054.dnsready.net>2013-07-13 01:48:00 -0700
commitc9952f3a144d9fb19917d7c100dca30d2d99f629 (patch)
tree94cc27a7d3077f0c571751f92f5cc6261d183dd8 /~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install
parent0d51c533d75a26daabeb9e7b9c5dcfb211498a4d (diff)
Sat Jul 13 01:47:15 PDT 2013
Diffstat (limited to '~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install')
-rw-r--r--~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install b/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install
new file mode 100644
index 000000000..dcf66e30a
--- /dev/null
+++ b/~coadde/cross-binutils/x86_64-unknown-elf-binutils-multilib.install
@@ -0,0 +1,16 @@
+_pkgname=x86_64-unknown-elf-binutils-multilib
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}