aboutsummaryrefslogtreecommitdiff
path: root/extra/dhcpcd/build
blob: 1625c95d9ecfbd976a0c7d58c4ed3d03371ca7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

export CFLAGS="$CFLAGS -fPIC"
export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --rundir=/run \
    --without-udev

make
make DESTDIR="$1" install

# Install services
clsv -d "$1" dhcpcd.run