diff --git a/sys-kernel/mkinitcpio/Manifest b/sys-kernel/mkinitcpio/Manifest new file mode 100644 index 0000000..dc26cfd --- /dev/null +++ b/sys-kernel/mkinitcpio/Manifest @@ -0,0 +1 @@ +DIST mkinitcpio-31.tar.gz 57460 BLAKE2B 0113e288906e3b5fa485c29c00e7df60d85addd96718c45531031a686f18c739fa18303b6cac374d35b85edb7b663e221c8dc9158dff08c75858a4ed4dd154bf SHA512 4ef87c2e4f579b292c38f9c487e78b3b99f6db77909cab322e860e5ca70aca3747fcfc272e2e15c9a3605c924ab178057b8b23151f98debc5d96e65f3c0c49d5 diff --git a/sys-kernel/mkinitcpio/mkinitcpio-31.ebuild b/sys-kernel/mkinitcpio/mkinitcpio-31.ebuild new file mode 100644 index 0000000..73fabe6 --- /dev/null +++ b/sys-kernel/mkinitcpio/mkinitcpio-31.ebuild @@ -0,0 +1,34 @@ +# 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" +}