summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/ubus.morph
blob: 393be175f20eb234eb5160667f0f597e3a6c0a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: ubus
kind: chunk

build-commands:
- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX
- make

install-commands:
- make install

post-install-commands:
- |
  install -d "$DESTDIR/sbin"
  cd "$DESTDIR/sbin"
  ln -s ..$PREFIX/sbin/ubusd ubusd
  install -d "$DESTDIR/bin"
  cd "$DESTDIR/bin"
  ln -s ..$PREFIX/bin/ubus ubus