summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/i686-unknown-elf-binutils.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/i686-unknown-elf-binutils.install
parent0d51c533d75a26daabeb9e7b9c5dcfb211498a4d (diff)
Sat Jul 13 01:47:15 PDT 2013
Diffstat (limited to '~coadde/cross-binutils/i686-unknown-elf-binutils.install')
-rw-r--r--~coadde/cross-binutils/i686-unknown-elf-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/i686-unknown-elf-binutils.install b/~coadde/cross-binutils/i686-unknown-elf-binutils.install
new file mode 100644
index 000000000..f92849138
--- /dev/null
+++ b/~coadde/cross-binutils/i686-unknown-elf-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=i686-unknown-elf-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}