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