X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=dev-util%2Fedb%2Fedb-0.9.18.ebuild;fp=dev-util%2Fedb%2Fedb-0.9.18.ebuild;h=c2f603774a316c4c7d5afc7be42981bc841a4304;hp=0000000000000000000000000000000000000000;hb=43a15dda6d2a07d09f25c3759417f52b494ce294;hpb=34f7a79b3498749e600f48734aefee4b40902009 diff --git a/dev-util/edb/edb-0.9.18.ebuild b/dev-util/edb/edb-0.9.18.ebuild new file mode 100644 index 0000000..c2f6037 --- /dev/null +++ b/dev-util/edb/edb-0.9.18.ebuild @@ -0,0 +1,40 @@ +# Stolen from gentoo portage + +inherit eutils multilib + +DESCRIPTION="EDB \"Evan's Debugger\" (OllyDbg workalike for Linux)" +HOMEPAGE="http://www.codef00.com/projects#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.5.0 + >=x11-libs/qt-gui-4.5.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 + doman edb.1 +} + +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." +}