summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-13 12:48:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-13 12:48:38 -0300
commit7aee7d4c6f698d6716d52b9b4e827ef339ffc7cf (patch)
tree9c758f80720e8dd15078527fada48bed9238cc67 /~coadde/cross-binutils/mips32el-unknown-elf-binutils.install
parent0694759ee233a4e1ed54f06d68709f5650cd87a7 (diff)
parent4e2b38c122e49c912ecaa01d1192a0aadd84a808 (diff)
downloadabslibre-7aee7d4c6f698d6716d52b9b4e827ef339ffc7cf.tar.gz
abslibre-7aee7d4c6f698d6716d52b9b4e827ef339ffc7cf.tar.bz2
abslibre-7aee7d4c6f698d6716d52b9b4e827ef339ffc7cf.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~coadde/cross-binutils/mips32el-unknown-elf-binutils.install')
-rw-r--r--~coadde/cross-binutils/mips32el-unknown-elf-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install b/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install
new file mode 100644
index 000000000..83ef0456f
--- /dev/null
+++ b/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=mips32el-unknown-elf-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}