1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00

app-forensics/readpe: add 0.85.1

This commit is contained in:
2025-10-05 13:26:08 +02:00
parent d95c4d20c0
commit e226738e6f
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST readpe-0.84.tar.gz 642372 BLAKE2B 59c326fad879c172c9b90964e2eb140fc4df2db3c7ee3b00324ed659fb8eb70c356036b3c601eaed6fc8e91dfc1ab29166383a5d7ded8b3d8970b601617c3f24 SHA512 facb4db30e46b05436888614302c784af543914f7aaa3c5a499352a6df71ea29c512f97304981a51f8e852a01ff95d1a3c7d885add86e8bb0c28cf805f7ed30b
DIST readpe-0.85.1.tar.gz 648014 BLAKE2B e1d07b32fcb48f69f50b5777e07ac5bc9c1e9c9abfbcf35e7165da43b81431a6a80d7336932b2969a292c41f55b1bccd4959d9e71c449b2f941347bb6fca11c7 SHA512 3877b80657a707e4cf92cae665a643f05d3b712a31cdb16c2f0fee2b3088dd96539083aec0030f4b3f8a62ea071f1f71d5eec6fe480e640e4cdd72b534072432

View File

@@ -0,0 +1,35 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Multiplatform command line toolkit to work with PE binaries"
HOMEPAGE="https://github.com/mentebinaria/readpe"
SRC_URI="
https://github.com/mentebinaria/readpe/archive/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${PN}-fix-manpages-compression.patch" )
src_prepare() {
sed -i \
-e '/^prefix/s#\([^=]*\).*$#\1= '"${EPREFIX}/usr"'#' \
-e '/^libdir/s#\([^=]*\).*$#\1= /usr/'$(get_libdir)'#' \
src/Makefile lib/libpe/Makefile || die
default
}
src_compile() {
emake CC="$(tc-getCC)"
}