Added mkinitcpio

This commit is contained in:
Gerben Jan Dijkman 2022-01-15 01:58:52 +01:00
parent ec490d4f67
commit b5076efe59
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST mkinitcpio-31.tar.gz 57460 BLAKE2B 0113e288906e3b5fa485c29c00e7df60d85addd96718c45531031a686f18c739fa18303b6cac374d35b85edb7b663e221c8dc9158dff08c75858a4ed4dd154bf SHA512 4ef87c2e4f579b292c38f9c487e78b3b99f6db77909cab322e860e5ca70aca3747fcfc272e2e15c9a3605c924ab178057b8b23151f98debc5d96e65f3c0c49d5

View File

@ -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"
}