summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/mips32el-unknown-elf-binutils.install
blob: 83ef0456f3ad5a6b852d1e1bf6767ab5654e05f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
  }
}