summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/armv7-unknown-uclinux-gnueabi.install
blob: 42f2d1cea785125424d3327c34f0b4a3037c6be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
_pkgname=armv7-unknown-uclinux-gnueabi-binutils

post_install() {
  linktools set $_pkgname
  linktools update binutils
}

post_upgrade() {
  post_install
}

pre_remove() {
  [[ $_pkgname == $(linktools check) ]] && {
    linktools unset
  }
}