foxyproxy: fixed dependancy

This commit is contained in:
Zero_Chaos 2010-09-07 15:15:40 +00:00
parent 4f13741325
commit 41935c6154
2 changed files with 45 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST foxyproxy_standard-2.15-fx+sm+tb.xpi 578121 RMD160 d546d4eed044f0dc8824a33d4d7b423b68c6f9a7 SHA1 d839747995e9d0b1cc6b2c445b754687daed520a SHA256 55aae398eeac591b88673f3e31a1510e30cc21cb077f9044700e72b0c6c4a8d7
EBUILD foxyproxy-2.15-r1.ebuild 1048 RMD160 e1c7410ba0ccb6e8c17802d6aee8c0304ed156e3 SHA1 f75b74635bb4324445843fba2603e100e960185f SHA256 a402e24cd995ed271d41ee700928da4d6c6688efb6d05a2be55b9f2ed83b0e1a
EBUILD foxyproxy-2.15.ebuild 1064 RMD160 4dea07cd6eae251427334ab60badf1ecb5ab8739 SHA1 fe14b29c9070dcc268fb0ad7c65169cd549eee5e SHA256 667d920a9fa6dd4f6ae8c006249019e414642d7c1982c6c133feccb4671df36b

View file

@ -0,0 +1,44 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit mozextension-2 multilib eutils
MY_P="${PN}_standard-${PV}-fx+sm+tb"
DESCRIPTION="A Firefox extensions from the firecat framework."
HOMEPAGE="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html"
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/addons/2464/${MY_P}.xpi"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="|| (
>=www-client/firefox-bin-3.0.0
>=www-client/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
}