live-bootstrap/sysa/dhcpcd-10.0.1/dhcpcd-10.0.1.sh
fosslinux 99bad05173 Update dhcpcd to 10.0.1
There was a bit of churn with the tarballs - hopefully this doesn't
happen again.
2023-04-27 17:36:18 +10:00

24 lines
485 B
Bash
Executable file

# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
rm src/dhcpcd-embedded.c.in
}
src_configure() {
CC=gcc ./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--sbindir="${PREFIX}/bin" \
--disable-embedded \
--disable-auth
}
src_install() {
default
mkdir -p "${DESTDIR}/var/db/dhcpcd"
mkdir -p "${DESTDIR}/var/run/dhcpcd"
}