summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-13 20:42:36 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-13 20:42:36 -0300
commitfa7ae387a0aab9fe8fe9c9dabf6500076af83673 (patch)
treec266009c8f2ee60576513a56dd26c5af47f63a15 /~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install
parent4ff12c1443c08ba2ef8dee44533b61e1a0a51b5b (diff)
cross-binutils: fixing architectures
Diffstat (limited to '~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install')
-rw-r--r--~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install
new file mode 100644
index 000000000..cbe5c788a
--- /dev/null
+++ b/~coadde/cross-binutils/sh64l-unknown-linux-gnu-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=sh64l-unknown-linux-gnu-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}