summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/ubus.morph
blob: 7287208dff54351d8f82355db8ef048002a73ad9 (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 -DBUILD_LUA=OFF
- 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