summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/ubus.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/cpe-wrt/ubus.morph')
-rw-r--r--strata/cpe-wrt/ubus.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/cpe-wrt/ubus.morph b/strata/cpe-wrt/ubus.morph
index 245a51b6..d5ed234a 100644
--- a/strata/cpe-wrt/ubus.morph
+++ b/strata/cpe-wrt/ubus.morph
@@ -1,5 +1,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