mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
24 lines
482 B
Bash
Executable file
24 lines
482 B
Bash
Executable file
# SPDX-FileCopyrightText: 2022 Samuel Tyler <samuel@samuelt.me>
|
|
#
|
|
# 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"
|
|
}
|