mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 04:40:56 +02:00
* Not yet working but it will!
This commit is contained in:
parent
86e9773313
commit
fdc492fe49
2 changed files with 52 additions and 0 deletions
2
x11-plugins/multiproxy-switch/Manifest
Normal file
2
x11-plugins/multiproxy-switch/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST multiproxy_switch-1.43-fx+tb+mz.xpi 76987 RMD160 2c7d8bdb5cff3311c6326d923ccfa0576f67b461 SHA1 7ee4292126df8e7185e52f18befc6b5102d64463 SHA256 1ba829babd463a1aee3e733c42383db330de1d0ae2578c5085c03611d1ff7fca
|
||||
EBUILD multiproxy-switch-1.43.ebuild 1256 RMD160 364297324537c3c42a4e85c2a50d17dbbfc97dfd SHA1 642353f1b4f856936dba81bc8cd60194653c2a42 SHA256 2e78cafbaca8999ce2ae8eaf73cae39a7751ff5ab0f0f6d69952ee788d21f85d
|
||||
50
x11-plugins/multiproxy-switch/multiproxy-switch-1.43.ebuild
Normal file
50
x11-plugins/multiproxy-switch/multiproxy-switch-1.43.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit mozextension multilib eutils
|
||||
|
||||
MY_P="${PN//-/_}-${PV}-fx+tb+mz"
|
||||
DESCRIPTION="A Firefox extensions from the firecat framework."
|
||||
HOMEPAGE="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html"
|
||||
SRC_URI="${MY_P}.xpi"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="fetch"
|
||||
RDEPEND="|| (
|
||||
>=www-client/mozilla-firefox-bin-3.0.0
|
||||
>=www-client/mozilla-firefox-3.0.0
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download extension from:"
|
||||
elog "https://addons.mozilla.org/en-US/firefox/downloads/file/59124/${MY_P}.xpi?confirmed"
|
||||
elog "Then put the file in ${DISTDIR}/${SRC_URI}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
echo ${A}
|
||||
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