From a958c0d826b3a6c96a8b6525605a040d7f6f9509 Mon Sep 17 00:00:00 2001 From: grimmlin Date: Mon, 26 Jan 2009 00:08:45 +0000 Subject: [PATCH] * added switchproxy, not quite working --- x11-plugins/switchproxy/Manifest | 2 + .../switchproxy/switchproxy-1.4.1.ebuild | 44 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 x11-plugins/switchproxy/Manifest create mode 100644 x11-plugins/switchproxy/switchproxy-1.4.1.ebuild diff --git a/x11-plugins/switchproxy/Manifest b/x11-plugins/switchproxy/Manifest new file mode 100644 index 000000000..ef2fac3d1 --- /dev/null +++ b/x11-plugins/switchproxy/Manifest @@ -0,0 +1,2 @@ +DIST switchproxy_tool-1.4.1-fx+mz+tb.xpi 66344 RMD160 c4c8e73a97bb8fdc59ff2f813af415a219753018 SHA1 a2bcb7b624884b09b0289d3cb72295157ba8e05a SHA256 956f45e302de03380548744f30900a453ec44141e84e314b7eb90ff5ea7d5388 +EBUILD switchproxy-1.4.1.ebuild 1062 RMD160 0b60dbe599f2a3fa954f68e14b04830fe6c38a9a SHA1 ae22a14baabd245fb1bacfecf1e767cd7d45635d SHA256 8019f926ef7e776bf59ae47ec84cbb55070112c6fb5a42fc56ae79a231118de7 diff --git a/x11-plugins/switchproxy/switchproxy-1.4.1.ebuild b/x11-plugins/switchproxy/switchproxy-1.4.1.ebuild new file mode 100644 index 000000000..1047c4375 --- /dev/null +++ b/x11-plugins/switchproxy/switchproxy-1.4.1.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="${PN}_tool-${PV}-fx+mz+tb" +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/530/${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 +}