summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-12 22:27:21 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-12 22:27:21 -0300
commitae02ff8a59843a2c77737650d18fa36d0f2f5e08 (patch)
treede44dd5dc2d68460ca33f767377fabd521025d4e /~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install
parentd59d055313165380bae327a4f749666f8fed9e3c (diff)
downloadabslibre-ae02ff8a59843a2c77737650d18fa36d0f2f5e08.tar.gz
abslibre-ae02ff8a59843a2c77737650d18fa36d0f2f5e08.tar.bz2
abslibre-ae02ff8a59843a2c77737650d18fa36d0f2f5e08.zip
cross-binutils: adding and fixing the *.install files
Diffstat (limited to '~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install')
-rw-r--r--~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install b/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install
new file mode 100644
index 000000000..643379261
--- /dev/null
+++ b/~coadde/cross-binutils/xtensa-unknown-elf-binutils-ath9k-htc.install
@@ -0,0 +1,16 @@
+_pkgname=xtensa-unknown-elf-binutils-ath9k-htc
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}