firebug: fixed dependancy

This commit is contained in:
Zero_Chaos 2010-09-07 16:13:37 +00:00
parent e1a259f8f3
commit 4505795164
2 changed files with 44 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST firebug-1.4.5-fx.xpi 695194 RMD160 3ad488d4c7dae4326ec30b2f487bd3e7ff599a6d SHA1 aded0b0b673aec35bf5e56861e2aa8edf75d0375 SHA256 bb3e7f79295d83c7f2d7c9e3095e818b9ed57805142e6af8624a2ae1f4dc26b1
EBUILD firebug-1.4.5-r1.ebuild 1063 RMD160 123e039378e70ac00abe227ee4d07d32c2223564 SHA1 fe7ea16d9b406dad8196ca49d2daa4c863b2cddf SHA256 a71d317d6c83821af2a3aedd5a828d69697868de181aafda84a3f63101e06370
EBUILD firebug-1.4.5.ebuild 1079 RMD160 837bd07053c29c57349dee92556d1bbde33f678f SHA1 59485d2b3db5b07744566a975d4dca99e5fc9a54 SHA256 0fee742122a9acff624e24902769649632fd5fcb34dd3f292779325587640bcf

View file

@ -0,0 +1,43 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit mozextension-2 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="http://releases.mozilla.org/pub/mozilla.org/addons/1843/${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"
emid="firebug@software.joehewitt.com" xpi_install "${S}/${MY_P}"
fi
}