app-misc/readpe - 0.85 (gogooverlay)

Search

Package Information

Description:
The PE file analysis toolkit
Homepage:
http://pev.sf.net
License:
GPL-2 openssl

Ebuild Details

Version EAPI Keywords Slot
0.85 8 amd64 0
View Raw Ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="The PE file analysis toolkit"
HOMEPAGE="http://pev.sf.net"
SRC_URI="https://github.com/mentebinaria/readpe/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/readpe-${PV}/src"

LICENSE="GPL-2 openssl"
SLOT="0"
KEYWORDS="amd64"

DEPEND="
	dev-libs/openssl
	~dev-libs/libpe-${PV}
"
RDEPEND="${DEPEND}"

src_prepare() {
	default

	local MY_PREFIX=${EPREFIX}/usr
	local MY_LIBDIR=$(get_libdir)

	set -- env \
	sed -i -E \
		-e "/^prefix/ s#(.*=[[:space:]]*).*#\1${MY_PREFIX}#" \
		-e "/^libdir/ s#(.*=[[:space:]]*).*#\1\$(exec_prefix)/${MY_LIBDIR}#" \
		Makefile
	echo "$@"
	"$@" || die
}

Dependencies

DEPEND

	dev-libs/openssl
	~dev-libs/libpe-0.85

RDEPEND

	dev-libs/openssl
	~dev-libs/libpe-0.85

Manifest for 0.85

Type File Size Source URLs
DIST readpe-0.85.tar.gz 647997 bytes https://github.com/mentebinaria/readpe/archive/refs/tags/v0.85.tar.gz