Download and compile libuci.
FossilOrigin-Name: ed56b418221d09ee07c480fcc16aa5661284ddcf6e598bdc85301960eabde17b
This commit is contained in:
parent
8bd240cc9b
commit
6a07f94f16
23
src/contrib/install_libuci.sh
Executable file
23
src/contrib/install_libuci.sh
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git clone git://nbd.name/luci2/libubox.git libubox
|
||||||
|
cd libubox
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make ubox
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
git clone git://nbd.name/uci.git uci
|
||||||
|
cd uci
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
|
CFLAGS=-I../../
|
||||||
|
LDFLAGS=-L../../libubox/build/
|
||||||
|
export CFLAGS
|
||||||
|
export LDFLAGS
|
||||||
|
|
||||||
|
cmake ..
|
||||||
|
make uci cli
|
||||||
|
|
Loading…
Reference in New Issue
Block a user