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

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

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

make
make DESTDIR="$1" install

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