mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 16:02:39 +01:00
app-forensics/readpe: bump to 0.84 (previously named app-forensics/pev)
This commit is contained in:
35
app-forensics/readpe/readpe-0.84.ebuild
Normal file
35
app-forensics/readpe/readpe-0.84.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2024 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)"
|
||||
}
|
||||
Reference in New Issue
Block a user