gjdwebserver-overlay/sys-kernel/mkinitcpio/mkinitcpio-31.ebuild

35 lines
666 B
Bash
Raw Normal View History

2022-01-15 01:58:52 +01:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Arch Linux initramfs generation tools"
HOMEPAGE="https://github.com/archlinux/mkinitcpio"
SRC_URI="https://github.com/archlinux/mkinitcpio/releases/download/v${PV}/mkinitcpio-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm64"
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND=""
src_compile() {
local myemakeargs=(
AR="${AR}"
CC="${CC}"
HOSTCC="${BUILD_CC}"
HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)'
HOSTLDFLAGS="${LDFLAGS}"
)
emake "${myemakeargs[@]}"
}
src_install() {
emake "install"
}