summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/lm32-unknown-elf-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/lm32-unknown-elf-binutils.install
parent4ff12c1443c08ba2ef8dee44533b61e1a0a51b5b (diff)
downloadabslibre-fa7ae387a0aab9fe8fe9c9dabf6500076af83673.tar.gz
abslibre-fa7ae387a0aab9fe8fe9c9dabf6500076af83673.tar.bz2
abslibre-fa7ae387a0aab9fe8fe9c9dabf6500076af83673.zip
cross-binutils: fixing architectures
Diffstat (limited to '~coadde/cross-binutils/lm32-unknown-elf-binutils.install')
-rw-r--r--~coadde/cross-binutils/lm32-unknown-elf-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/lm32-unknown-elf-binutils.install b/~coadde/cross-binutils/lm32-unknown-elf-binutils.install
new file mode 100644
index 000000000..c2481ba1f
--- /dev/null
+++ b/~coadde/cross-binutils/lm32-unknown-elf-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=lm32-unknown-elf-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}