mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
* added switchproxy, not quite working
This commit is contained in:
parent
7ac7da4162
commit
a958c0d826
2 changed files with 46 additions and 0 deletions
2
x11-plugins/switchproxy/Manifest
Normal file
2
x11-plugins/switchproxy/Manifest
Normal file
|
|
@ -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
|
||||
44
x11-plugins/switchproxy/switchproxy-1.4.1.ebuild
Normal file
44
x11-plugins/switchproxy/switchproxy-1.4.1.ebuild
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in a new issue