mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
LIBDIR should be used where possible to avoid unnecessary duplication in build scripts that target the musl toolchain. No change in package hashes.
24 lines
485 B
Bash
Executable file
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"
|
|
}
|