From f8e5b05ec6248005a7b5739cca1742781629333f Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Fri, 17 Aug 2012 02:45:43 +0000 Subject: [PATCH] jd-gui-bin: initial ebuild --- dev-util/jd-gui-bin/Manifest | 2 + dev-util/jd-gui-bin/jd-gui-bin-0.3.3.ebuild | 43 +++++++++++++++++++ .../base/package.accept_keywords/dev-util | 1 + 3 files changed, 46 insertions(+) create mode 100644 dev-util/jd-gui-bin/Manifest create mode 100644 dev-util/jd-gui-bin/jd-gui-bin-0.3.3.ebuild diff --git a/dev-util/jd-gui-bin/Manifest b/dev-util/jd-gui-bin/Manifest new file mode 100644 index 000000000..83238d252 --- /dev/null +++ b/dev-util/jd-gui-bin/Manifest @@ -0,0 +1,2 @@ +DIST jd-gui-0.3.3.linux.i686.tar.gz 997169 SHA256 a17822875c417845d3f23d6e8a69d86a687f35bd45b6eaea4eaa9db177324904 SHA512 b67d7a0ced794f306e6e2de9e64b707889da54cb45b8324ac5b498bbcade843c9f632e28cdd1e3c6dcd387d29a0ef9963f2a663574e0137a30f7b931109bc328 WHIRLPOOL c94f55088a03d4748d655daef3a9561af9fcd5984cbe2fe778a76407358eb45c589e5b5f33d04e4232ce8506c2e0be977d175c4ac3d31716a6a37fc772565027 +EBUILD jd-gui-bin-0.3.3.ebuild 1215 SHA256 64f74b2702431ded96c3f1b25db00df1a07105940b5674b9924401bcf2179cad SHA512 96ac4c857616d4d678c7cb22dba8d4f356cc49f72ecefbf678041026198f0b821625f10c2ad4248f8508a33fcd0c2916df964e6900658378555775baf93423f9 WHIRLPOOL 5f17e4a73ecd37851c80b113afa75ce32f49084d5a6a817b6c5c43b3c775440e37e5adf54867793c9bde9e2860744b644f761169ab1f5cf68a9fca484df0008a diff --git a/dev-util/jd-gui-bin/jd-gui-bin-0.3.3.ebuild b/dev-util/jd-gui-bin/jd-gui-bin-0.3.3.ebuild new file mode 100644 index 000000000..5770e3d00 --- /dev/null +++ b/dev-util/jd-gui-bin/jd-gui-bin-0.3.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit eutils multilib + +DESCRIPTION="A standalone graphical utility that displays Java source codes of .class file" +HOMEPAGE="http://java.decompiler.free.fr/?q=jdgui" +SRC_URI="http://java.decompiler.free.fr/jd-gui/downloads/jd-gui-${PV}.linux.i686.tar.gz" +LICENSE="Unknown" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +RESTRICT="fetch strip" + +S=${WORKDIR} + +pkg_nofetch() { + einfo "Please download" + einfo " - ${P}.linux.i686.tar.gz" + einfo "from ${HOMEPAGE} and place them in ${DISTDIR}" +} + +src_prepare() { + #remove gnome related stuff (nautilus) + rm -rf contrib +} + +src_install() { + exeinto "/usr/bin" + doexe "${WORKDIR}/jd-gui" + dodoc readme.txt +} + +pkg_postinst() { + einfo "JD-GUI is free for non-commercial use." + einfo "This means that JD-GUI shall not be included or embedded into commercial software products. " + einfo "Nevertheless, JD-GUI may be freely used for personal needs in a commercial or non-commercial environments." + ewarn "JD-GUI creates a jd-gui.cfg file in the current working directory." + ewarn "Make sure you run it in a directory you can remove afterwards" +} diff --git a/profiles/pentoo/base/package.accept_keywords/dev-util b/profiles/pentoo/base/package.accept_keywords/dev-util index e813ddcd1..a88b207a4 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-util +++ b/profiles/pentoo/base/package.accept_keywords/dev-util @@ -2,6 +2,7 @@ ~dev-util/calpp-0.90 ~dev-util/dex2jar-0.0.9.9 ~dev-util/dissy-10 +~dev-util/jd-gui-bin-0.3.3 ~dev-util/nvidia-cuda-toolkit-4.2 ~dev-util/nvidia-cuda-sdk-4.2 ~dev-util/radare2-0.9