summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/ubus.morph
blob: d5ed234ac6f8e6e064811227e96af7ab3494d7f6 (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 ../usr/sbin/ubusd ubusd
  install -d "$DESTDIR/bin"
  cd "$DESTDIR/bin"
  ln -s ../usr/bin/ubus ubus