mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-22 16:23:57 +01:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils multilib
|
|
|
|
DESCRIPTION="EDB \"Evan's Debugger\" (OllyDbg workalike for Linux)"
|
|
HOMEPAGE="http://www.codef00.com/projects.php#Debugger"
|
|
SRC_URI="http://www.codef00.com/projects/debugger-${PV}.tgz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE=""
|
|
RESTRICT="strip mirror"
|
|
|
|
DEPEND="
|
|
>=x11-libs/qt-core-4.2.0
|
|
>=x11-libs/qt-gui-4.2.0
|
|
>=dev-libs/boost-1.35.0"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
S="${WORKDIR}/debugger"
|
|
|
|
src_compile() {
|
|
qmake -makefile DEFAULT_PLUGIN_PATH="/usr/$(get_libdir)/edb/" || dir "qmake failed"
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
make INSTALL_ROOT="${D}"/usr/ install
|
|
dodoc CHANGELOG README README.plugins
|
|
dobin edb_make_symbolmap.sh
|
|
}
|
|
|
|
pkg_postinst() {
|
|
einfo "Note: EBD's plugins are installed by default into /usr/$(get_libdir)/edb."
|
|
einfo "If you have previously used EDB and have it set to look in a"
|
|
einfo "different directory, then you will need to adjust this. Also"
|
|
einfo "EDB looks for plugins in the current working directory as well"
|
|
einfo "as the directory specified in the options, so that unpriviledged"
|
|
einfo "users can use plugins not installed system wide."
|
|
}
|