summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/netifd.morph
blob: 2a0336fad5071eebd05201819ee1cdcee0e6d2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: netifd
kind: chunk

configure-commands:
- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DLIBNL_LIBS=-lnl-tiny -DLIBNL_INCLUDE_DIRS=/usr/include/libnl-tiny

build-commands:
- make

install-commands:
- make install
- install -d "$DESTDIR"/lib/netifd
- install scripts/* "$DESTDIR"/lib/netifd
- install -d "$DESTDIR"/etc/config
- install config/* "$DESTDIR"/etc/config

post-install-commands:
- install -d "$DESTDIR/sbin" && cd "$DESTDIR/sbin" && ln -s ..$PREFIX/sbin/netifd netifd