Install this version:
emerge -a =games-util/kelftool-20191126
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-util/kelftool-20191126
Or alternatively:
emerge --autounmask-write -a =games-util/kelftool-20191126
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 20191126 | 8 | ~amd64 | 0 |
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Utility for decrypt, encrypt and sign PS2 KELF and PSX KELF files."
HOMEPAGE="https://github.com/parrado/kelftool"
SHA="6b9b471388626c4a576c7d7d67b8664c00fcd024"
SRC_URI="https://github.com/parrado/kelftool/archive/${SHA}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${SHA}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
src_prepare() {
sed -re "s/^(CXXFLAGS =.*)/\1 ${CFLAGS}/" \
-e "s/^(LDLIBS = .*)/\1 ${LDFLAGS}/" \
-i Makefile
default
}
src_install() {
einstalldocs
newbin "build/${PN}.elf" "${PN}"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | kelftool-20191126.tar.gz | 22768 bytes | https://github.com/parrado/kelftool/archive/6b9b471388626c4a576c7d7d67b8664c00fcd024.tar.gz |