Mercurial > vanilla
comparison network/dhcpcd/dhcpcd.sh @ 533:9f90de3d806f
network: use new FHS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Apr 2019 20:16:00 +0200 |
parents | 5298f6a3f180 |
children | bad483aace64 |
comparison
equal
deleted
inserted
replaced
532:341987b63363 | 533:9f90de3d806f |
---|---|
24 PKGOPTIONS="IPV6" | 24 PKGOPTIONS="IPV6" |
25 PKGPROTECT="etc/dhcpcd.conf etc/rc.d/dhcpcd" | 25 PKGPROTECT="etc/dhcpcd.conf etc/rc.d/dhcpcd" |
26 | 26 |
27 : ${CHOST:=$(uname -m)-linux-musl} | 27 : ${CHOST:=$(uname -m)-linux-musl} |
28 : ${CBUILD:=$(uname -m)-linux-musl} | 28 : ${CBUILD:=$(uname -m)-linux-musl} |
29 : ${CTARGET:=$(uname -m)-linux-musl} | |
30 : ${CC:=clang} | 29 : ${CC:=clang} |
31 : ${CFLAGS:=-O2} | 30 : ${CFLAGS:=-O2} |
32 : ${LDFLAGS:=} | 31 : ${LDFLAGS:=} |
33 : ${LIBS:=} | 32 : ${LIBS:=} |
34 : ${IPV6:=yes} | 33 : ${IPV6:=yes} |
44 LDFLAGS="$LDFLAGS" \ | 43 LDFLAGS="$LDFLAGS" \ |
45 LIBS="$LIBS" \ | 44 LIBS="$LIBS" \ |
46 ./configure \ | 45 ./configure \ |
47 --build=$CBUILD \ | 46 --build=$CBUILD \ |
48 --host=$CHOST \ | 47 --host=$CHOST \ |
49 --target=$CTARGET \ | 48 --prefix=/ \ |
50 --prefix=/usr \ | |
51 --sysconfdir=/etc \ | |
52 --disable-static \ | 49 --disable-static \ |
53 --enable-shared | 50 --enable-shared |
54 make | 51 make |
55 make install DESTDIR=$DESTDIR | 52 make install DESTDIR=$DESTDIR |
56 install -Dm0644 ../dhcpcd $DESTDIR/etc/rc.d/dhcpcd | 53 install -Dm0644 ../dhcpcd $DESTDIR/etc/rc.d/dhcpcd |