summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2015-06-05 11:46:07 (GMT)
committerRichard Dale <richard.dale@codethink.co.uk>2015-06-05 11:46:07 (GMT)
commit48b9730dcac56287e62dd74ae986bf0402494464 (patch)
tree521016cd35ffec1ff31bfa607acea4a13345ff4a
parent2b277cdc2ac941e108472be1b9217c9d213c84ac (diff)
downloaddefinitions-48b9730dcac56287e62dd74ae986bf0402494464.tar.gz
Create a uci sym link as /sbin/uci
-rw-r--r--strata/cpe-wrt/uci.morph6
1 files changed, 4 insertions, 2 deletions
diff --git a/strata/cpe-wrt/uci.morph b/strata/cpe-wrt/uci.morph
index 86fecdc..8d75793 100644
--- a/strata/cpe-wrt/uci.morph
+++ b/strata/cpe-wrt/uci.morph
@@ -1,12 +1,14 @@
name: uci
kind: chunk
-build-commands:
+configure-commands:
- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX
+
+build-commands:
- make
install-commands:
- make install
post-install-commands:
-- install -d "$DESTDIR/bin" && cd "$DESTDIR/bin" && ln -s ..$PREFIX/bin/uci uci
+- install -d "$DESTDIR/sbin" && cd "$DESTDIR/sbin" && ln -s ..$PREFIX/bin/uci uci