Install this version:
emerge -a =dev-util/codex-bin-0.125.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/codex-bin-0.125.0
Or alternatively:
emerge --autounmask-write -a =dev-util/codex-bin-0.125.0
# Generated via: https://github.com/arran4/arrans_overlay/blob/main/.github/workflows/dev-util-codex-bin-update.yaml
EAPI=8
DESCRIPTION="Lightweight coding agent that runs in your terminal"
HOMEPAGE="https://github.com/openai/codex"
SRC_URI="
amd64? ( https://github.com/openai/codex/releases/download/rust-v${PV}/codex-x86_64-unknown-linux-gnu.tar.gz -> ${P}-codex-x86_64-unknown-linux-gnu.tar.gz )
arm64? ( https://github.com/openai/codex/releases/download/rust-v${PV}/codex-aarch64-unknown-linux-gnu.tar.gz -> ${P}-codex-aarch64-unknown-linux-gnu.tar.gz )
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""
REQUIRED_USE=""
RDEPEND=""
S="${WORKDIR}"
src_unpack() {
if use amd64; then
unpack "${DISTDIR}/${P}-codex-x86_64-unknown-linux-gnu.tar.gz" || die "Can't unpack archive file"
fi
if use arm64; then
unpack "${DISTDIR}/${P}-codex-aarch64-unknown-linux-gnu.tar.gz" || die "Can't unpack archive file"
fi
}
src_install() {
exeinto /opt/bin
if use amd64; then
newexe "codex" "codex" || die "Failed to install Binary"
fi
if use arm64; then
newexe "codex" "codex" || die "Failed to install Binary"
fi
}