Install this version:
emerge -a =sys-fs/cramfsswap-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-fs/cramfsswap-9999
Or alternatively:
emerge --autounmask-write -a =sys-fs/cramfsswap-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Swap endianness of a cram filesystem (cramfs)"
HOMEPAGE="https://github.com/julijane/cramfsswap"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/nabbi/${PN}.git"
EGIT_BRANCH="void-write"
fi
LICENSE="GPL-2"
SLOT="0"
RDEPEND="${DEPEND}"
#S="${WORKDIR}/cramfs-tools-${PV}"
src_compile() {
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" debian
}
src_install() {
into /
dosbin cramfsswap
dodoc README
}