diff --git a/x11-plugins/add-n-edit-cookie/Manifest b/x11-plugins/add-n-edit-cookie/Manifest new file mode 100644 index 000000000..d918e9478 --- /dev/null +++ b/x11-plugins/add-n-edit-cookie/Manifest @@ -0,0 +1,2 @@ +DIST add-n-edit-cookie-0.2.1.3-fx.xpi 57206 RMD160 c761d6c36e79a06ffde93f3b63a24398429e3e25 SHA1 90a6f5d3bd61fdc6fa77e72704f1bcdcd6eddf26 SHA256 a0863ebbe7f69f783e24c0b46c251e4e241b08e82b79854c0ec10171042f67da +EBUILD add-n-edit-cookie-0.2.1.3.ebuild 1046 RMD160 5c19b7bcda58c0cf4e80d69697f5c861326c449a SHA1 942fbdcc6e3f39ce62480f41176b45584666fa32 SHA256 fd22215b046b008a106c468359d4af8e4981e047da45cfd3221bec4a2dee37bf diff --git a/x11-plugins/add-n-edit-cookie/add-n-edit-cookie-0.2.1.3.ebuild b/x11-plugins/add-n-edit-cookie/add-n-edit-cookie-0.2.1.3.ebuild new file mode 100644 index 000000000..922e583ae --- /dev/null +++ b/x11-plugins/add-n-edit-cookie/add-n-edit-cookie-0.2.1.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit mozextension multilib eutils + +MY_P="${P}-fx" +DESCRIPTION="A Firefox extensions from the firecat framework." +HOMEPAGE="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html" +SRC_URI="https://addons.mozilla.org/en-US/firefox/downloads/file/33291/${MY_P}.xpi" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="|| ( + >=www-client/mozilla-firefox-bin-3.0.0 + >=www-client/mozilla-firefox-3.0.0 +)" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_unpack() { + xpi_unpack $A +# epatch "${FILESDIR}/${MY_P}.patch" +} + +src_compile () { + einfo "Nothing to compile" +} + +src_install () { + declare MOZILLA_FIVE_HOME + if has_version '>=www-client/mozilla-firefox-1.5.0.7'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox" + xpi_install "${S}/${MY_P}" + fi + if has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then + MOZILLA_FIVE_HOME="/opt/firefox" + xpi_install "${S}/${MY_P}" + fi +}