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

pre-configure-commands:
- sed -i "s/json\/json.h/json-c\/json.h/" include/rpcd/plugin.h

configure-commands:
- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX

build-commands:
- make

install-commands:
- make install
- install -d $DESTDIR$PREFIX/include/rpcd
- cd include/rpcd ; install * $DESTDIR$PREFIX/include/rpcd
- install -d "$DESTDIR$PREFIX"/share/rpcd/acl.d
- install unauthenticated.json "$DESTDIR$PREFIX"/share/rpcd/acl.d

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